From 00243b0a1aa7149660e52e748b82a14e5e818150 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 16 Nov 2009 02:00:03 +0100 Subject: hush: fix exit code propagation from `cmd`. +45 bytes Signed-off-by: Denys Vlasenko --- shell/hush_test/hush-psubst/emptytick.tests | 4 ---- 1 file changed, 4 deletions(-) (limited to 'shell/hush_test/hush-psubst/emptytick.tests') diff --git a/shell/hush_test/hush-psubst/emptytick.tests b/shell/hush_test/hush-psubst/emptytick.tests index a269f02..eaffafb 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 $? -- cgit v1.1