diff options
-rwxr-xr-x | shell/ash_test/ash-signals/return_in_trap1.tests | 4 | ||||
-rwxr-xr-x | shell/hush_test/hush-signals/return_in_trap1.tests | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/shell/ash_test/ash-signals/return_in_trap1.tests b/shell/ash_test/ash-signals/return_in_trap1.tests index f2498024f..4c0d53bde 100755 --- a/shell/ash_test/ash-signals/return_in_trap1.tests +++ b/shell/ash_test/ash-signals/return_in_trap1.tests | |||
@@ -11,8 +11,8 @@ a | |||
11 | 11 | ||
12 | echo d:$? | 12 | echo d:$? |
13 | # It's debatable what is the correct value above. | 13 | # 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? |
15 | # IOW: after (kill..), does shell first wait for its completion | 15 | # IOW: after (kill..), does shell first wait for its completion |
16 | # and sets $?, then checks pending signals and runs a trap handler, | 16 | # 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? |
18 | # hush does the former, and prints 3. | 18 | # hush does the former, and prints 3. |
diff --git a/shell/hush_test/hush-signals/return_in_trap1.tests b/shell/hush_test/hush-signals/return_in_trap1.tests index f2498024f..4c0d53bde 100755 --- a/shell/hush_test/hush-signals/return_in_trap1.tests +++ b/shell/hush_test/hush-signals/return_in_trap1.tests | |||
@@ -11,8 +11,8 @@ a | |||
11 | 11 | ||
12 | echo d:$? | 12 | echo d:$? |
13 | # It's debatable what is the correct value above. | 13 | # 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? |
15 | # IOW: after (kill..), does shell first wait for its completion | 15 | # IOW: after (kill..), does shell first wait for its completion |
16 | # and sets $?, then checks pending signals and runs a trap handler, | 16 | # 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? |
18 | # hush does the former, and prints 3. | 18 | # hush does the former, and prints 3. |