aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush_test')
-rw-r--r--shell/hush_test/hush-psubst/emptytick.right8
-rwxr-xr-xshell/hush_test/hush-psubst/emptytick.tests4
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 @@
10 10
20 20
3hush: can't execute '': No such file or directory 3hush: can't execute '': No such file or directory
40 4127
5hush: can't execute '': No such file or directory 5hush: can't execute '': No such file or directory
60 6127
70 70
80 80
90 90
100 100
11hush: can't execute '': No such file or directory 11hush: can't execute '': No such file or directory
120 12127
13hush: can't execute '': No such file or directory 13hush: can't execute '': No such file or directory
140 14127
150 150
160 160
17hush: can't execute '': No such file or directory 17hush: 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 @@
1true; ``; echo $? 1true; ``; echo $?
2false; ``; echo $? 2false; ``; echo $?
3# UNFIXED BUG. bash sets $? to 127:
4true; `""`; echo $? 3true; `""`; echo $?
5# bash sets $? to 127:
6false; `""`; echo $? 4false; `""`; echo $?
7true; ` `; echo $? 5true; ` `; echo $?
8false; ` `; echo $? 6false; ` `; echo $?
9 7
10true; $(); echo $? 8true; $(); echo $?
11false; $(); echo $? 9false; $(); echo $?
12# bash sets $? to 127:
13true; $(""); echo $? 10true; $(""); echo $?
14# bash sets $? to 127:
15false; $(""); echo $? 11false; $(""); echo $?
16true; $( ); echo $? 12true; $( ); echo $?
17false; $( ); echo $? 13false; $( ); echo $?