diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-08 12:29:58 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-08 12:29:58 +0200 |
commit | b4943ccf73b64fc93a90a23474509c316f55eb2b (patch) | |
tree | 3ffb24533b6a10c0b00e835335a5b7bec157854c /tests | |
parent | e2417b2b9134f3f65e14b61e23cd3644d8954353 (diff) | |
download | xz-b4943ccf73b64fc93a90a23474509c316f55eb2b.tar.gz |
Avoid using ! in test_files.sh, because that doesn't work
with some ancient /bin/sh versions.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/test_files.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_files.sh b/tests/test_files.sh index f9b340f..71b43a0 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 |