aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rwxr-xr-xshell/ash_test/ash-signals/sigint1.tests4
-rwxr-xr-xshell/hush_test/hush-misc/sigint1.tests4
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 @@
(sleep 1; echo Sending SIGINT to main shell PID; exec kill -INT $$) &
# We create a child which exits with 0 even on SIGINT
-# (This is truly necessary only if SIGINT is generated by ^C,
+# (The complex command is necessary only if SIGINT is generated by ^C,
# in this testcase even bare "sleep 2" would do because
-# we don't send SIGINT _to_ the_ child_...)
+# in the testcase we don't send SIGINT *to the child*...)
$THIS_SH -c 'trap "exit 0" SIGINT; sleep 2'
# 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 @@
(sleep 1; echo Sending SIGINT to main shell PID; exec kill -INT $$) &
# We create a child which exits with 0 even on SIGINT
-# (This is truly necessary only if SIGINT is generated by ^C,
+# (The complex command is necessary only if SIGINT is generated by ^C,
# in this testcase even bare "sleep 2" would do because
-# we don't send SIGINT _to_ the_ child_...)
+# in the testcase we don't send SIGINT *to the child*...)
$THIS_SH -c 'trap "exit 0" SIGINT; sleep 2'
# In one second, we (main shell) get SIGINT here.