summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-trap
diff options
context:
space:
mode:
authorDenis Vlasenko2009-03-31 22:14:32 +0000
committerDenis Vlasenko2009-03-31 22:14:32 +0000
commitd3081062453cb394052dd2d8ecda94aaaff3c6df (patch)
tree374ee8629cea1a035e13ed8c05e1ef4ee46fb9ee /shell/hush_test/hush-trap
parent9983d806d910ef1e01bc1868ded40720cee3f092 (diff)
downloadbusybox-d3081062453cb394052dd2d8ecda94aaaff3c6df.zip
busybox-d3081062453cb394052dd2d8ecda94aaaff3c6df.tar.gz
hust_test/*: use "$THIS_SH" instead of hush
Diffstat (limited to 'shell/hush_test/hush-trap')
-rwxr-xr-xshell/hush_test/hush-trap/catch.tests2
-rwxr-xr-xshell/hush_test/hush-trap/exit.tests6
2 files changed, 4 insertions, 4 deletions
diff --git a/shell/hush_test/hush-trap/catch.tests b/shell/hush_test/hush-trap/catch.tests
index b1a4ed9..d2a21d1 100755
--- a/shell/hush_test/hush-trap/catch.tests
+++ b/shell/hush_test/hush-trap/catch.tests
@@ -1,7 +1,7 @@
# avoid ugly warnings about signals not being caught
trap ":" USR1 USR2
-hush -c '
+"$THIS_SH" -c '
trap "echo caught" USR2
echo "sending USR2"
kill -USR2 $$
diff --git a/shell/hush_test/hush-trap/exit.tests b/shell/hush_test/hush-trap/exit.tests
index 174e74f..092543c 100755
--- a/shell/hush_test/hush-trap/exit.tests
+++ b/shell/hush_test/hush-trap/exit.tests
@@ -1,3 +1,3 @@
-hush -c 'trap "echo cow" 0'
-hush -c 'trap "echo moo" EXIT'
-hush -c 'trap "echo no" 0; trap 0'
+"$THIS_SH" -c 'trap "echo cow" 0'
+"$THIS_SH" -c 'trap "echo moo" EXIT'
+"$THIS_SH" -c 'trap "echo no" 0; trap 0'