summaryrefslogtreecommitdiffstats
path: root/testsuite/check.sh
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-08 04:37:28 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-08 04:37:28 +0000
commit28aeb43eee402f13bec56cd16c1e075a26211260 (patch)
tree64bf759e5198aa7286899e4c0c6fda02c69ae972 /testsuite/check.sh
parentAdding debian version 1.2-2. (diff)
downloadzutils-28aeb43eee402f13bec56cd16c1e075a26211260.tar.xz
zutils-28aeb43eee402f13bec56cd16c1e075a26211260.zip
Merging upstream version 1.3~pre1.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'testsuite/check.sh')
-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