diff --git a/tests/packaging/interactive/etag.sh b/tests/packaging/interactive/etag.sh index 3a9de46cc..c985431c9 100755 --- a/tests/packaging/interactive/etag.sh +++ b/tests/packaging/interactive/etag.sh @@ -9,6 +9,8 @@ etag="$(curl --silent $socket_opt --fail http://localhost:5000/v1/config -o /dev echo " etag OK" echo " status" +echo "$etag" status=$(curl --silent $socket_opt --fail http://localhost:5000/v1/config --header "If-None-Match: $etag" -w "%{http_code}" -o /dev/null) +echo "test $status -eq 304" test "$status" -eq 304 echo " status OK"