diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-02-21 03:47:50 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-02-21 03:47:50 +0100 |
commit | bac0a25f72cdf59f34638aa3fd95bb14b103c286 (patch) | |
tree | d681e172a232bc7ffc90e799105d57b015357cd6 /shell | |
parent | b12553faa8991e11c11f70a81f1d9d44078c7645 (diff) | |
download | busybox-w32-bac0a25f72cdf59f34638aa3fd95bb14b103c286.tar.gz busybox-w32-bac0a25f72cdf59f34638aa3fd95bb14b103c286.tar.bz2 busybox-w32-bac0a25f72cdf59f34638aa3fd95bb14b103c286.zip |
slightly better wording in comments
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rwxr-xr-x | shell/ash_test/ash-signals/sigint1.tests | 4 | ||||
-rwxr-xr-x | shell/hush_test/hush-misc/sigint1.tests | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/shell/ash_test/ash-signals/sigint1.tests b/shell/ash_test/ash-signals/sigint1.tests index 20e45d940..3d483d32a 100755 --- a/shell/ash_test/ash-signals/sigint1.tests +++ b/shell/ash_test/ash-signals/sigint1.tests | |||
@@ -3,9 +3,9 @@ | |||
3 | (sleep 1; echo Sending SIGINT to main shell PID; exec kill -INT $$) & | 3 | (sleep 1; echo Sending SIGINT to main shell PID; exec kill -INT $$) & |
4 | 4 | ||
5 | # We create a child which exits with 0 even on SIGINT | 5 | # We create a child which exits with 0 even on SIGINT |
6 | # (This is truly necessary only if SIGINT is generated by ^C, | 6 | # (The complex command is necessary only if SIGINT is generated by ^C, |
7 | # in this testcase even bare "sleep 2" would do because | 7 | # in this testcase even bare "sleep 2" would do because |
8 | # we don't send SIGINT _to_ the_ child_...) | 8 | # in the testcase we don't send SIGINT *to the child*...) |
9 | $THIS_SH -c 'trap "exit 0" SIGINT; sleep 2' | 9 | $THIS_SH -c 'trap "exit 0" SIGINT; sleep 2' |
10 | 10 | ||
11 | # In one second, we (main shell) get SIGINT here. | 11 | # In one second, we (main shell) get SIGINT here. |
diff --git a/shell/hush_test/hush-misc/sigint1.tests b/shell/hush_test/hush-misc/sigint1.tests index 20e45d940..3d483d32a 100755 --- a/shell/hush_test/hush-misc/sigint1.tests +++ b/shell/hush_test/hush-misc/sigint1.tests | |||
@@ -3,9 +3,9 @@ | |||
3 | (sleep 1; echo Sending SIGINT to main shell PID; exec kill -INT $$) & | 3 | (sleep 1; echo Sending SIGINT to main shell PID; exec kill -INT $$) & |
4 | 4 | ||
5 | # We create a child which exits with 0 even on SIGINT | 5 | # We create a child which exits with 0 even on SIGINT |
6 | # (This is truly necessary only if SIGINT is generated by ^C, | 6 | # (The complex command is necessary only if SIGINT is generated by ^C, |
7 | # in this testcase even bare "sleep 2" would do because | 7 | # in this testcase even bare "sleep 2" would do because |
8 | # we don't send SIGINT _to_ the_ child_...) | 8 | # in the testcase we don't send SIGINT *to the child*...) |
9 | $THIS_SH -c 'trap "exit 0" SIGINT; sleep 2' | 9 | $THIS_SH -c 'trap "exit 0" SIGINT; sleep 2' |
10 | 10 | ||
11 | # In one second, we (main shell) get SIGINT here. | 11 | # In one second, we (main shell) get SIGINT here. |