aboutsummaryrefslogtreecommitdiff
path: root/tests/test_files.sh
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2008-01-08 12:29:58 +0200
committerLasse Collin <lasse.collin@tukaani.org>2008-01-08 12:29:58 +0200
commitb4943ccf73b64fc93a90a23474509c316f55eb2b (patch)
tree3ffb24533b6a10c0b00e835335a5b7bec157854c /tests/test_files.sh
parentMore pre-C99 inttypes.h compatibility fixes. Now the code (diff)
downloadxz-b4943ccf73b64fc93a90a23474509c316f55eb2b.tar.xz
Avoid using ! in test_files.sh, because that doesn't work
with some ancient /bin/sh versions.
Diffstat (limited to '')
-rwxr-xr-xtests/test_files.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_files.sh b/tests/test_files.sh
index f9b340f7..71b43a0b 100755
--- a/tests/test_files.sh
+++ b/tests/test_files.sh
@@ -18,7 +18,9 @@
for I in "$srcdir"/files/good-*.lzma
do
- if ! ../src/lzmadec/lzmadec "$I" > /dev/null 2> /dev/null ; then
+ if ../src/lzmadec/lzmadec "$I" > /dev/null 2> /dev/null ; then
+ :
+ else
echo "Good file failed: $I"
(exit 1)
exit 1