aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-psubst/emptytick.tests
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash_test/ash-psubst/emptytick.tests')
-rwxr-xr-xshell/ash_test/ash-psubst/emptytick.tests16
1 files changed, 16 insertions, 0 deletions
diff --git a/shell/ash_test/ash-psubst/emptytick.tests b/shell/ash_test/ash-psubst/emptytick.tests
new file mode 100755
index 000000000..eaffafb22
--- /dev/null
+++ b/shell/ash_test/ash-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 $?
+
+exec ''; echo $?
+echo Not reached