aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-psubst
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush_test/hush-psubst')
-rw-r--r--shell/hush_test/hush-psubst/emptytick.right7
-rwxr-xr-xshell/hush_test/hush-psubst/emptytick.tests8
2 files changed, 11 insertions, 4 deletions
diff --git a/shell/hush_test/hush-psubst/emptytick.right b/shell/hush_test/hush-psubst/emptytick.right
index d4b70c58a..1f60ecfda 100644
--- a/shell/hush_test/hush-psubst/emptytick.right
+++ b/shell/hush_test/hush-psubst/emptytick.right
@@ -1,14 +1,17 @@
0
0
+hush: can't execute '': No such file or directory
0
+hush: can't execute '': No such file or directory
0
0
0
0
0
+hush: can't execute '': No such file or directory
0
+hush: can't execute '': No such file or directory
0
0
0
-0
-0
+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 af3a1836c..a269f025a 100755
--- a/shell/hush_test/hush-psubst/emptytick.tests
+++ b/shell/hush_test/hush-psubst/emptytick.tests
@@ -1,16 +1,20 @@
true; ``; echo $?
false; ``; echo $?
+# UNFIXED BUG. bash sets $? to 127:
true; `""`; echo $?
+# bash sets $? to 127:
false; `""`; echo $?
true; ` `; echo $?
false; ` `; echo $?
true; $(); echo $?
false; $(); echo $?
+# bash sets $? to 127:
true; $(""); echo $?
+# bash sets $? to 127:
false; $(""); echo $?
true; $( ); echo $?
false; $( ); echo $?
-true; exec ''; echo $?
-false; exec ''; echo $?
+exec ''; echo $?
+echo Not reached