iotest.cpp polishing.

This commit is contained in:
Robin Mills
2020-05-16 10:11:40 +01:00
parent 83cab13ae1
commit c64f2e8ea1
2 changed files with 18 additions and 21 deletions
+4 -4
View File
@@ -35,7 +35,7 @@ if [ "$EXIV2_PORT" != "None" -a "$EXIV2_HTTP" != "None" ]; then
if [ ! -z $exiv2_httpServer ]; then
( cd "${testdir}"
>&2 printf "*** HTTP tests begin\n"
cd "$testdir"
test_files="table.jpg Reagan.tiff exiv2-bug922a.jpg"
for i in $test_files; do
@@ -44,11 +44,11 @@ if [ "$EXIV2_PORT" != "None" -a "$EXIV2_HTTP" != "None" ]; then
runTest exiv2 -g City -g DateTime $t
done
done
runTest iotest s0 s1 s2 $exiv2_url/data/table.jpg 1 ; sniff
runTest iotest s0 s1 s2 $exiv2_url/data/table.jpg 0 ; sniff
runTest iotest s0 s1 s2 $exiv2_url/data/table.jpg 10 ; sniff
runTest iotest s0 s1 s2 $exiv2_url/data/table.jpg 1000 ; sniff
>&2 printf "*** HTTP tests end\n"
) | tr -d '\r' | sed 's/[ \t]+$//' > $results
reportTest