summaryrefslogtreecommitdiff
path: root/tests/run-native-test.sh
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2006-10-10 00:25:21 +0000
committerRoland McGrath <roland@redhat.com>2006-10-10 00:25:21 +0000
commitc373d850ec9ca342f4c71d5e287c8d8bf0723cd6 (patch)
treec8f9ea814866cdfb30ac9506ccddbc8629ebe345 /tests/run-native-test.sh
parent1dee360aa30fecd20f403f98fd1cb9e543afcca7 (diff)
downloadelfutils-c373d850ec9ca342f4c71d5e287c8d8bf0723cd6.tar.gz
2006-10-09 Roland McGrath <roland@redhat.com>
* ia64_symbol.c (ia64_reloc_simple_type): Treat SECREL types as simple.
Diffstat (limited to 'tests/run-native-test.sh')
-rwxr-xr-xtests/run-native-test.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/run-native-test.sh b/tests/run-native-test.sh
index e64b252f..99926b03 100755
--- a/tests/run-native-test.sh
+++ b/tests/run-native-test.sh
@@ -58,7 +58,8 @@ trap native_cleanup 0 1 2 15
for cc in "$HOSTCC" "$HOST_CC" cc gcc "$CC"; do
test "x$cc" != x || continue
$cc -o native -g native.c > /dev/null 2>&1 &&
- ./native > /dev/null 2>&1 & native=$! &&
+ # Some shell versions don't do this right without the braces.
+ { ./native > /dev/null 2>&1 & native=$! ; } &&
sleep 1 && kill -0 $native 2> /dev/null &&
break ||
native=0