aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script/lexer/script-line.test
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-10-27 12:10:58 +0300
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-04 09:26:36 +0200
commitadf27f5e17f4de774b3121c3669e3947ad4c9ca5 (patch)
tree8d81b3c921bd54a3358b621dd2945f36a167d03b /unit-tests/test/script/lexer/script-line.test
parent2b8601ca72b7b3cbb3b76d96102e9607efab16b7 (diff)
Add support of cleanups to testscript parser
Diffstat (limited to 'unit-tests/test/script/lexer/script-line.test')
-rw-r--r--unit-tests/test/script/lexer/script-line.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/unit-tests/test/script/lexer/script-line.test b/unit-tests/test/script/lexer/script-line.test
index 36d440c..6c5038a 100644
--- a/unit-tests/test/script/lexer/script-line.test
+++ b/unit-tests/test/script/lexer/script-line.test
@@ -92,3 +92,12 @@ $* <"cmd <<<in >>>out 2>>>&err" >>EOO # file-redirect
'err'
<newline>
EOO
+
+$* <"cmd &file &dir/" >>EOO # cleanup
+'cmd'
+&
+'file'
+&
+'dir/'
+<newline>
+EOO