aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-psubst/emptytick.tests
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-11-16 02:00:03 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-11-16 02:00:03 +0100
commit00243b0a1aa7149660e52e748b82a14e5e818150 (patch)
tree88d21a71c53f4d1ee2fc43612adb3879118b4e42 /shell/hush_test/hush-psubst/emptytick.tests
parenta7ccdeef396700d1ed78b9f97de0d10c706b169f (diff)
downloadbusybox-00243b0a1aa7149660e52e748b82a14e5e818150.tar.gz
hush: fix exit code propagation from `cmd`. +45 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-psubst/emptytick.tests')
-rwxr-xr-xshell/hush_test/hush-psubst/emptytick.tests4
1 files changed, 0 insertions, 4 deletions
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 @@
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 $?