From b4943ccf73b64fc93a90a23474509c316f55eb2b Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Tue, 8 Jan 2008 12:29:58 +0200 Subject: [PATCH] Avoid using ! in test_files.sh, because that doesn't work with some ancient /bin/sh versions. --- tests/test_files.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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