aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/data/evil2.stl9
-rw-r--r--tests/test.sh1
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/data/evil2.stl b/tests/data/evil2.stl
new file mode 100644
index 0000000..79254bd
--- /dev/null
+++ b/tests/data/evil2.stl
@@ -0,0 +1,9 @@
+solid test˙3ac
+ facet normal 0 0 1.0
+ outer loop
+ vertex 1 0 0
+ vertex 1 1 0
+ vertex 0 1 0
+ endloop
+ endfacet
+endsolid
diff --git a/tests/test.sh b/tests/test.sh
index 1f36f4d..41f9d4c 100644
--- a/tests/test.sh
+++ b/tests/test.sh
@@ -89,6 +89,7 @@ elif [ "$1" == "stl-upload" ]; then
name="${3:-samplefile}"
(
echo "echo"
+ [ ! -z "$AUTH" ] && echo "auth $AUTH"
echo "upload"
echo "$name"
cat "$file" | wc -c