diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-11-01 12:18:59 +0300 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-04 09:26:37 +0200 |
commit | 5583ffaa2581858cb7f7f75e28660bc038bcc8ec (patch) | |
tree | 72707ac943e4f2a5a0457869d7672db558940461 /unit-tests/test/script/lexer/command-line.test | |
parent | 40a34dc212a5749350723ac4f390335c0c5283e3 (diff) |
Add support for cleanup types to testscript parser
Diffstat (limited to 'unit-tests/test/script/lexer/command-line.test')
-rw-r--r-- | unit-tests/test/script/lexer/command-line.test | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/unit-tests/test/script/lexer/command-line.test b/unit-tests/test/script/lexer/command-line.test index bc791dc..acb7d1d 100644 --- a/unit-tests/test/script/lexer/command-line.test +++ b/unit-tests/test/script/lexer/command-line.test @@ -118,12 +118,17 @@ $* <:"1>>>&a b" >>EOO # out-file-app-redirect 'a b' EOO -$* <:"&file" >>EOO # file-cleanup +$* <:"&file" >>EOO # cleanup-always & 'file' EOO -$* <:"&dir/" >>EOO # dir-cleanup -& -'dir/' +$* <:"&?file" >>EOO # cleanup-maybe +&? +'file' +EOO + +$* <:"&!file" >>EOO # cleanup-never +&! +'file' EOO |