aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-09-02 07:49:20 +0200
committerMattias Andrée <maandree@operamail.com>2015-09-02 07:49:20 +0200
commit00a9a1a7ab6ca0d68ad49ead2e84061dfde2eecd (patch)
tree4fa3dea67a6c072f5c2737bf4c7dae21c10dca8c /tests
parentupdate dist (diff)
downloadgpp-00a9a1a7ab6ca0d68ad49ead2e84061dfde2eecd.tar.gz
gpp-00a9a1a7ab6ca0d68ad49ead2e84061dfde2eecd.tar.bz2
gpp-00a9a1a7ab6ca0d68ad49ead2e84061dfde2eecd.tar.xz
bug fix
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-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)!!!