diff options
Diffstat (limited to 'tests/misc/timeout')
-rwxr-xr-x | tests/misc/timeout | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/timeout b/tests/misc/timeout index d69e2f21b..5f4e9ec2a 100755 --- a/tests/misc/timeout +++ b/tests/misc/timeout @@ -46,7 +46,7 @@ test $? = 124 && fail=1 # Use a subshell and an exec to work around a bug in FreeBSD 5.0 /bin/sh. ( # ash doesn't support "trap '' CHLD"; it knows only signal numbers. - sig=`"$abs_top_builddir/src/kill" -l CHLD 2>/dev/null` && trap '' $sig + sig=$("$abs_top_builddir/src/kill" -l CHLD 2>/dev/null) && trap '' $sig exec timeout 10 true ) || fail=1 |