aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/complex7
-rw-r--r--tests/quoted2
-rw-r--r--tests/quoted-brackets3
-rw-r--r--tests/unquoted2
4 files changed, 14 insertions, 0 deletions
diff --git a/tests/complex b/tests/complex
new file mode 100644
index 0000000..2f6af5b
--- /dev/null
+++ b/tests/complex
@@ -0,0 +1,7 @@
+@<set -v # the last line should not appear, unless you have a $()$() command
+@>
+@>h=H
+
+'@{h}ello @(echo `echo 'W'`"o$(echo $(echo r))"'ld!')'
+@('$()$()')
+
diff --git a/tests/quoted b/tests/quoted
new file mode 100644
index 0000000..469b5d8
--- /dev/null
+++ b/tests/quoted
@@ -0,0 +1,2 @@
+@>set -v
+'ello @(echo 'world')!!!
diff --git a/tests/quoted-brackets b/tests/quoted-brackets
new file mode 100644
index 0000000..5b170d8
--- /dev/null
+++ b/tests/quoted-brackets
@@ -0,0 +1,3 @@
+@>set -v
+'ello @(echo 'wo(rld')!!!
+'ello @(echo 'wo)rld')!!!
diff --git a/tests/unquoted b/tests/unquoted
new file mode 100644
index 0000000..ac3742e
--- /dev/null
+++ b/tests/unquoted
@@ -0,0 +1,2 @@
+@>set -v
+'ello @(echo world)!!!