diff options
Diffstat (limited to 'tests/auto/network/access/qabstractnetworkcache/tests/httpcachetest_expires304.cgi')
-rwxr-xr-x | tests/auto/network/access/qabstractnetworkcache/tests/httpcachetest_expires304.cgi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/network/access/qabstractnetworkcache/tests/httpcachetest_expires304.cgi b/tests/auto/network/access/qabstractnetworkcache/tests/httpcachetest_expires304.cgi index 1c7de1cd77..9ae28a00c8 100755 --- a/tests/auto/network/access/qabstractnetworkcache/tests/httpcachetest_expires304.cgi +++ b/tests/auto/network/access/qabstractnetworkcache/tests/httpcachetest_expires304.cgi @@ -1,11 +1,11 @@ #!/bin/bash -if [ ${HTTP_IF_MODIFIED_SINCE} == "Mon, 30 Oct 2028 14:19:41 GMT" ] ; then +if [ "${HTTP_IF_MODIFIED_SINCE}" == "Mon, 30 Oct 2028 14:19:41 GMT" ] ; then echo "Status: 304" echo "" - exit; + exit fi echo "Expires: Mon, 30 Oct 2028 14:19:41 GMT" -echo "Content-type: text/html"; +echo "Content-type: text/html" echo "" echo "Hello World!" |