Skip to content

Commit

Permalink
feature: -f option in curl, does not give output if status is not 200
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Bianco committed Aug 29, 2016
1 parent c846c31 commit d523213
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test_server/test_generic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ IMAGE_EXTENTION=$4

echo "http://localhost:1024/test_server/Leaves8.tif/full/full/0/default.$IMAGE_EXTENTION"

curl -sS -o "$FILENAME_DOWN_8" -O "http://localhost:1024/test_server/Leaves8.tif/full/full/0/default.$IMAGE_EXTENTION"
curl -sSf -o "$FILENAME_DOWN_8" -O "http://localhost:1024/test_server/Leaves8.tif/full/full/0/default.$IMAGE_EXTENTION"

test_check $1 $FILENAME_DOWN_8

curl -sS -o "$FILENAME_DOWN_16" -O "http://localhost:1024/test_server/Leaves16.tif/full/full/0/default.$IMAGE_EXTENTION"
curl -sSf -o "$FILENAME_DOWN_16" -O "http://localhost:1024/test_server/Leaves16.tif/full/full/0/default.$IMAGE_EXTENTION"

test_check $1 $FILENAME_DOWN_16

0 comments on commit d523213

Please sign in to comment.