diff options
Diffstat (limited to 'shell/hush_test')
-rw-r--r-- | shell/hush_test/hush-psubst/emptytick.right | 8 | ||||
-rwxr-xr-x | shell/hush_test/hush-psubst/emptytick.tests | 4 |
2 files changed, 4 insertions, 8 deletions
diff --git a/shell/hush_test/hush-psubst/emptytick.right b/shell/hush_test/hush-psubst/emptytick.right index 1f60ecfda..2500caba5 100644 --- a/shell/hush_test/hush-psubst/emptytick.right +++ b/shell/hush_test/hush-psubst/emptytick.right | |||
@@ -1,17 +1,17 @@ | |||
1 | 0 | 1 | 0 |
2 | 0 | 2 | 0 |
3 | hush: can't execute '': No such file or directory | 3 | hush: can't execute '': No such file or directory |
4 | 0 | 4 | 127 |
5 | hush: can't execute '': No such file or directory | 5 | hush: can't execute '': No such file or directory |
6 | 0 | 6 | 127 |
7 | 0 | 7 | 0 |
8 | 0 | 8 | 0 |
9 | 0 | 9 | 0 |
10 | 0 | 10 | 0 |
11 | hush: can't execute '': No such file or directory | 11 | hush: can't execute '': No such file or directory |
12 | 0 | 12 | 127 |
13 | hush: can't execute '': No such file or directory | 13 | hush: can't execute '': No such file or directory |
14 | 0 | 14 | 127 |
15 | 0 | 15 | 0 |
16 | 0 | 16 | 0 |
17 | hush: can't execute '': No such file or directory | 17 | hush: can't execute '': No such file or directory |
diff --git a/shell/hush_test/hush-psubst/emptytick.tests b/shell/hush_test/hush-psubst/emptytick.tests index a269f025a..eaffafb22 100755 --- a/shell/hush_test/hush-psubst/emptytick.tests +++ b/shell/hush_test/hush-psubst/emptytick.tests | |||
@@ -1,17 +1,13 @@ | |||
1 | true; ``; echo $? | 1 | true; ``; echo $? |
2 | false; ``; echo $? | 2 | false; ``; echo $? |
3 | # UNFIXED BUG. bash sets $? to 127: | ||
4 | true; `""`; echo $? | 3 | true; `""`; echo $? |
5 | # bash sets $? to 127: | ||
6 | false; `""`; echo $? | 4 | false; `""`; echo $? |
7 | true; ` `; echo $? | 5 | true; ` `; echo $? |
8 | false; ` `; echo $? | 6 | false; ` `; echo $? |
9 | 7 | ||
10 | true; $(); echo $? | 8 | true; $(); echo $? |
11 | false; $(); echo $? | 9 | false; $(); echo $? |
12 | # bash sets $? to 127: | ||
13 | true; $(""); echo $? | 10 | true; $(""); echo $? |
14 | # bash sets $? to 127: | ||
15 | false; $(""); echo $? | 11 | false; $(""); echo $? |
16 | true; $( ); echo $? | 12 | true; $( ); echo $? |
17 | false; $( ); echo $? | 13 | false; $( ); echo $? |