diff options
| author | Ulrich Drepper <[email protected]> | 2005-08-31 15:14:26 +0000 |
|---|---|---|
| committer | Ulrich Drepper <[email protected]> | 2005-08-31 15:14:26 +0000 |
| commit | 7d65d01496e465606740033f6ba76b42ddb9815b (patch) | |
| tree | 80ad09bb0bd1a63fd5f751fd1e0e3db5148350b6 /tests/run-strings-test.sh | |
| parent | 5a6f8d18a8c575cb30fea083b238d39d18f63083 (diff) | |
Use correct exit code in test shell scripts if test cannot be performed.
Diffstat (limited to 'tests/run-strings-test.sh')
| -rwxr-xr-x | tests/run-strings-test.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run-strings-test.sh b/tests/run-strings-test.sh index 9c744afe..4ea7d3c3 100755 --- a/tests/run-strings-test.sh +++ b/tests/run-strings-test.sh @@ -14,11 +14,11 @@ set -e # Don't fail if we cannot decompress the file. -bunzip2 -c $srcdir/testfile.bz2 > testfile 2>/dev/null || exit 0 +bunzip2 -c $srcdir/testfile.bz2 > testfile 2>/dev/null || exit 77 # Don't fail if we cannot decompress the file. for n in $(seq 2 9); do -bunzip2 -c $srcdir/testfile$n.bz2 > testfile$n 2>/dev/null || exit 0 +bunzip2 -c $srcdir/testfile$n.bz2 > testfile$n 2>/dev/null || exit 77 done LD_LIBRARY_PATH=../libelf${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH \ |
