aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-psubst/emptytick.tests
blob: a269f025aa0bf36f4a73ff9edad56b05084578e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 $?

exec ''; echo $?
echo Not reached