aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-signals
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-06-03 04:28:28 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-06-03 04:28:28 +0200
commit08d8b3cee1329d390f91bce419e2b4dadf484952 (patch)
tree4c8d4ed50792a9f1712dd914e7fcef62234b5f49 /shell/ash_test/ash-signals
parent3e47cfec90fbe358692b3b960f7fa2303e465c2f (diff)
downloadbusybox-08d8b3cee1329d390f91bce419e2b4dadf484952.tar.gz
ash: fix redirection of fd 0 in scripts are sourced from interactive ash
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-signals')
-rw-r--r--shell/ash_test/ash-signals/signal5.right4
-rwxr-xr-xshell/ash_test/ash-signals/signal5.tests2
2 files changed, 3 insertions, 3 deletions
diff --git a/shell/ash_test/ash-signals/signal5.right b/shell/ash_test/ash-signals/signal5.right
index 162f56bbc..7cfd4110e 100644
--- a/shell/ash_test/ash-signals/signal5.right
+++ b/shell/ash_test/ash-signals/signal5.right
@@ -1,5 +1,5 @@
-sleeping for 3 sec
-sleeping for 2 sec
+Sleeping
+Sleeping
Waiting
2 sec passed, sending USR1 to parent
USR1 received
diff --git a/shell/ash_test/ash-signals/signal5.tests b/shell/ash_test/ash-signals/signal5.tests
index 371120e95..179bcdd80 100755
--- a/shell/ash_test/ash-signals/signal5.tests
+++ b/shell/ash_test/ash-signals/signal5.tests
@@ -1,6 +1,6 @@
trap "echo USR1 received" USR1
stub() {
- echo "sleeping for $1 sec"
+ echo "Sleeping"
sleep $1
echo "$1 sec passed, sending USR1 to parent"
kill -USR1 $$