diff --git a/tests/dl-out.expect b/tests/dl-out.expect index 80cda193..3ce00ace 100644 --- a/tests/dl-out.expect +++ b/tests/dl-out.expect @@ -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 diff --git a/tests/download_chunked.sh b/tests/download_chunked.sh index b156ef43..35edf8e2 100755 --- a/tests/download_chunked.sh +++ b/tests/download_chunked.sh @@ -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 diff --git a/tests/echo1.expect b/tests/echo1.expect index e0fa89b2..7a51e034 100644 --- a/tests/echo1.expect +++ b/tests/echo1.expect @@ -50,7 +50,7 @@ test_out.txt hello world -ykjNycnnKs8vyknhAgAAAP// +ykjNycnnKs8vyknhAgAAAP//AwA= diff --git a/tests/upload-out.expect b/tests/upload-out.expect index 7c5ca0cc..595a71c1 100644 --- a/tests/upload-out.expect +++ b/tests/upload-out.expect @@ -1,2 +1,3 @@ serve directory . on http://127.0.0.1:8087 -upload successful 0 0 52428800 data +upload successful +52428800 data diff --git a/tests/upload_chunked.sh b/tests/upload_chunked.sh index 5afebaca..63dd3bfd 100755 --- a/tests/upload_chunked.sh +++ b/tests/upload_chunked.sh @@ -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