aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script/parser
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-03-16 15:55:04 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-03-16 15:59:16 +0300
commitd2b324a72fdf16fcd68e6ba7ca0280aa95de4b71 (patch)
tree08294a644e4e944280f561058248a332ac00874a /unit-tests/test/script/parser
parent5f55069b5bd01f2d5c157fa360fda400da6ba01f (diff)
Add support for >! test command redirect
Diffstat (limited to 'unit-tests/test/script/parser')
-rw-r--r--unit-tests/test/script/parser/redirect.test9
1 files changed, 8 insertions, 1 deletions
diff --git a/unit-tests/test/script/parser/redirect.test b/unit-tests/test/script/parser/redirect.test
index 2e53c4d..4fc3a9d 100644
--- a/unit-tests/test/script/parser/redirect.test
+++ b/unit-tests/test/script/parser/redirect.test
@@ -2,10 +2,17 @@
# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
-# @@ Add tests for redirects other than file and merge.
+# @@ Add tests for redirects other than trace, here-*, file and merge.
# @@ Does it make sense to split into separate files - one per redirect type?
#
+: trace
+:
+{
+ $* <'cmd >!' >'cmd >!' : out
+ $* <'cmd 2>!' >'cmd 2>!' : err
+}
+
: str
:
{