aboutsummaryrefslogtreecommitdiffstats
path: root/service/src/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'service/src/test.sh')
-rw-r--r--service/src/test.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/service/src/test.sh b/service/src/test.sh
index 4627d81..9a905b7 100644
--- a/service/src/test.sh
+++ b/service/src/test.sh
@@ -24,6 +24,8 @@ checkleaks() {
fi
}
+export RESULTDIR="scans"
+
announce "Trying ASCII STL"
(
echo "submit"
@@ -36,5 +38,14 @@ announce "Trying BIN STL"
echo "submit"
cat tests/sample-binary.stl | wc -c
cat tests/sample-binary.stl
+ echo "testname"
+) | checkleaks
+
+
+announce "Testing Proof-Of-Concept"
+(
+ echo "submit"
+ cat tests/evil1.stl | wc -c
+ cat tests/evil1.stl
) | checkleaks