diff options
| author | Louis Burda <quent.burda@gmail.com> | 2021-06-26 13:28:18 +0200 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2021-06-26 13:28:18 +0200 |
| commit | d9f95490d15da221844b066784149f68db92cc5d (patch) | |
| tree | b313f8e9e9d59ad6d4ce6d10098f15e0a6b8b8fa /tests | |
| parent | 9763bd5c6d2ab498e989b738c35884c9d7bf8d5e (diff) | |
| download | enowars5-service-stldoctor-d9f95490d15da221844b066784149f68db92cc5d.tar.gz enowars5-service-stldoctor-d9f95490d15da221844b066784149f68db92cc5d.zip | |
add checking of returned stl info in test_good_upload havocs
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test.sh b/tests/test.sh index f2b9d86..1f36f4d 100644 --- a/tests/test.sh +++ b/tests/test.sh @@ -63,18 +63,18 @@ if [ "$1" == "stl-leaks" ]; then ( echo "echo" echo "upload" + echo "ASCII-testname" cat "$TESTDATA/sample-ascii.stl" | wc -c cat "$TESTDATA/sample-ascii.stl" - echo "ASCII-testname" ) | checkleaks announce "Testing BIN STL Parsing" ( echo "echo" echo "upload" + echo "BIN-testname" cat "$TESTDATA/sample-binary.stl" | wc -c cat "$TESTDATA/sample-binary.stl" - echo "BIN-testname" ) | checkleaks elif [ "$1" == "stl-upload" ]; then @@ -90,9 +90,9 @@ elif [ "$1" == "stl-upload" ]; then ( echo "echo" echo "upload" + echo "$name" cat "$file" | wc -c cat "$file" - echo "$name" ) | connect elif [ "$1" == "auth-upload" ]; then @@ -101,9 +101,9 @@ elif [ "$1" == "auth-upload" ]; then echo "auth test" echo "upload" + echo "testname" cat "$TESTDATA/sample-ascii.stl" | wc -c cat "$TESTDATA/sample-ascii.stl" - echo "testname" ) | connect ( |
