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-get-files.sh | |
| parent | 5a6f8d18a8c575cb30fea083b238d39d18f63083 (diff) | |
Use correct exit code in test shell scripts if test cannot be performed.
Diffstat (limited to 'tests/run-get-files.sh')
| -rwxr-xr-x | tests/run-get-files.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/run-get-files.sh b/tests/run-get-files.sh index 7af5c139..e80cf68d 100755 --- a/tests/run-get-files.sh +++ b/tests/run-get-files.sh @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 1999, 2000, 2002, 2004 Red Hat, Inc. +# Copyright (C) 1999, 2000, 2002, 2004, 2005 Red Hat, Inc. # Written by Ulrich Drepper <[email protected]>, 1999. # # This program is Open Source software; you can redistribute it and/or @@ -14,10 +14,10 @@ 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. -bunzip2 -c $srcdir/testfile2.bz2 > testfile2 2>/dev/null || exit 0 +bunzip2 -c $srcdir/testfile2.bz2 > testfile2 2>/dev/null || exit 77 ./get-files testfile testfile2 > get-files.out |
