summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-psubst
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush_test/hush-psubst')
-rw-r--r--shell/hush_test/hush-psubst/tick.right2
-rwxr-xr-xshell/hush_test/hush-psubst/tick.tests4
-rw-r--r--shell/hush_test/hush-psubst/tick2.right1
-rwxr-xr-xshell/hush_test/hush-psubst/tick2.tests5
4 files changed, 12 insertions, 0 deletions
diff --git a/shell/hush_test/hush-psubst/tick.right b/shell/hush_test/hush-psubst/tick.right
new file mode 100644
index 0000000..6ed281c
--- /dev/null
+++ b/shell/hush_test/hush-psubst/tick.right
@@ -0,0 +1,2 @@
+1
+1
diff --git a/shell/hush_test/hush-psubst/tick.tests b/shell/hush_test/hush-psubst/tick.tests
new file mode 100755
index 0000000..1f749a9
--- /dev/null
+++ b/shell/hush_test/hush-psubst/tick.tests
@@ -0,0 +1,4 @@
+true
+false; echo `echo $?`
+true
+{ false; echo `echo $?`; }
diff --git a/shell/hush_test/hush-psubst/tick2.right b/shell/hush_test/hush-psubst/tick2.right
new file mode 100644
index 0000000..216c883
--- /dev/null
+++ b/shell/hush_test/hush-psubst/tick2.right
@@ -0,0 +1 @@
+BAZ
diff --git a/shell/hush_test/hush-psubst/tick2.tests b/shell/hush_test/hush-psubst/tick2.tests
new file mode 100755
index 0000000..db4e944
--- /dev/null
+++ b/shell/hush_test/hush-psubst/tick2.tests
@@ -0,0 +1,5 @@
+if false; then
+ echo "FOO"
+ tmp=`echo BAR >&2`
+fi
+echo BAZ