diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2012-03-15 20:17:49 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2012-03-15 20:17:49 +0000 |
commit | 84abf700110ef54ac2bf8de4b09c54ca437f390a (patch) | |
tree | ac10f9a629318a9062636662b984606cc1d09f11 /tests | |
parent | 3362e89f66acde52605c654d904b2aebceb92297 (diff) | |
download | strace-84abf700110ef54ac2bf8de4b09c54ca437f390a.tar.gz strace-84abf700110ef54ac2bf8de4b09c54ca437f390a.tar.bz2 strace-84abf700110ef54ac2bf8de4b09c54ca437f390a.tar.xz |
tests: robustify again buggy shells
* tests/init.sh (check_strace): Use "${parameter:-word}" shell syntax
instead of "${parameter-word}".
Reported-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/init.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/init.sh b/tests/init.sh index 5176d05..b0dbbf8 100644 --- a/tests/init.sh +++ b/tests/init.sh @@ -16,7 +16,7 @@ check_prog() check_strace() { - STRACE=${*-../strace} + STRACE=${*:-../strace} $STRACE -V > /dev/null || framework_failure_ "$STRACE is not available" } |