hush/shell/hush_test/hush-psubst/emptytick.tests
Denys Vlasenko 00243b0a1a hush: fix exit code propagation from cmd. +45 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-16 02:00:03 +01:00

17 lines
298 B
Plaintext
Executable File

true; ``; echo $?
false; ``; echo $?
true; `""`; echo $?
false; `""`; echo $?
true; ` `; echo $?
false; ` `; echo $?
true; $(); echo $?
false; $(); echo $?
true; $(""); echo $?
false; $(""); echo $?
true; $( ); echo $?
false; $( ); echo $?
exec ''; echo $?
echo Not reached