update tests, make them more robust

This commit is contained in:
Simon Cruanes 2024-04-03 21:37:02 -04:00
parent 84adbb13b2
commit 0014334010
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
5 changed files with 10 additions and 8 deletions

View file

@ -1,5 +1,5 @@
serve directory . on http://127.0.0.1:8088
0 0 52428800 data21
0 0 52428800 data22
0 0 52428800 data23
0 0 157286400 total
52428800 data21
52428800 data22
52428800 data23
157286400 total

View file

@ -20,4 +20,4 @@ curl -N "http://localhost:${PORT}/foo_50" -o data23 \
-H 'Accept-encoding: chunked' --max-time 10
kill $PID
wc data21 data22 data23
wc -m data21 data22 data23

View file

@ -50,7 +50,7 @@ test_out.txt
</html>
hello
world
ykjNycnnKs8vyknhAgAAAP//
ykjNycnnKs8vyknhAgAAAP//AwA=
<html>
<head>

View file

@ -1,2 +1,3 @@
serve directory . on http://127.0.0.1:8087
upload successful 0 0 52428800 data
upload successful
52428800 data

View file

@ -14,4 +14,5 @@ cat foo_50 | curl -N -X PUT http://localhost:$PORT/data --data-binary @- \
-H 'Transfer-Encoding: chunked' --max-time 10
kill $PID
wc data
echo ''
wc -m data