aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-psubst/emptytick.tests
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush_test/hush-psubst/emptytick.tests')
-rwxr-xr-xshell/hush_test/hush-psubst/emptytick.tests16
1 files changed, 16 insertions, 0 deletions
diff --git a/shell/hush_test/hush-psubst/emptytick.tests b/shell/hush_test/hush-psubst/emptytick.tests
new file mode 100755
index 000000000..af3a1836c
--- /dev/null
+++ b/shell/hush_test/hush-psubst/emptytick.tests
@@ -0,0 +1,16 @@
+true; ``; echo $?
+false; ``; echo $?
+true; `""`; echo $?
+false; `""`; echo $?
+true; ` `; echo $?
+false; ` `; echo $?
+
+true; $(); echo $?
+false; $(); echo $?
+true; $(""); echo $?
+false; $(""); echo $?
+true; $( ); echo $?
+false; $( ); echo $?
+
+true; exec ''; echo $?
+false; exec ''; echo $?