summaryrefslogtreecommitdiffstats
path: root/testsuite/check.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xtestsuite/check.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/check.sh b/testsuite/check.sh
index b7ae7e4..2dc013f 100755
--- a/testsuite/check.sh
+++ b/testsuite/check.sh
@@ -22,7 +22,7 @@ extensions="bz2 gz lz"
compressor_needed() { echo "${compressors} are needed to run tests" ; exit 1 ; }
framework_failure() { echo "failure in testing framework" ; exit 1 ; }
-if [ ! -x "${ZCAT}" ] ; then
+if [ ! -f "${ZCAT}" ] || [ ! -x "${ZCAT}" ] ; then
echo "${ZCAT}: cannot execute"
exit 1
fi