Skip to content

Commit 4135a75

Browse files
author
Denys Vlasenko
committed
typo fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
1 parent a513bf3 commit 4135a75

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

shell/ash_test/ash-signals/return_in_trap1.tests

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ a
1111

1212
echo d:$?
1313
# It's debatable what is the correct value above.
14-
# Does 'return' in trap sees $? == 2 or $? == 3?
14+
# Does 'return' in trap see $? == 2 or $? == 3?
1515
# IOW: after (kill..), does shell first wait for its completion
1616
# and sets $?, then checks pending signals and runs a trap handler,
17-
# or does it first checks pending signals and runs handler?
17+
# or does it first check pending signals and runs handler?
1818
# hush does the former, and prints 3.

shell/hush_test/hush-signals/return_in_trap1.tests

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ a
1111

1212
echo d:$?
1313
# It's debatable what is the correct value above.
14-
# Does 'return' in trap sees $? == 2 or $? == 3?
14+
# Does 'return' in trap see $? == 2 or $? == 3?
1515
# IOW: after (kill..), does shell first wait for its completion
1616
# and sets $?, then checks pending signals and runs a trap handler,
17-
# or does it first checks pending signals and runs handler?
17+
# or does it first check pending signals and runs handler?
1818
# hush does the former, and prints 3.

0 commit comments

Comments
 (0)