diff --git a/tests/p_gzip/20-gzip-test b/tests/p_gzip/20-gzip-test
index a17f054..7214c31 100755
--- a/tests/p_gzip/20-gzip-test
+++ b/tests/p_gzip/20-gzip-test
@@ -116,7 +116,7 @@ cp ./tests/p_gzip/gzip-test.txt.gz /var/tmp/gzip-test.txt.1.gz
 
 # The file should gunzip with it's original name and timestamp.
 gunzip -f -N $FILE.1.gz
-ls -l $FILE --time-style=+"%F %R" | grep  -q '2010-11-22 13:11' && ExitFail
+ls -l $FILE --time-style=+"%F %R" | grep  -q '2010-11-22 13:11' || ExitFail
 TZ=$TZ_SAVE
 # Check that -t works and detects a damaged file
 t_Log "Check -t can detect a corrupt file"