diff options
Diffstat (limited to 'unit-tests/test')
-rw-r--r-- | unit-tests/test/script/parser/regex.test | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/unit-tests/test/script/parser/regex.test b/unit-tests/test/script/parser/regex.test index 58b1606..9f2e737 100644 --- a/unit-tests/test/script/parser/regex.test +++ b/unit-tests/test/script/parser/regex.test @@ -83,6 +83,12 @@ testscript:1:8: error: no introducer character in stderr regex redirect EOE } + + : modifier-last + : + $* <'cmd >~/x' 2>>EOE != 0 + testscript:1:7: error: no closing introducer character in stdout regex redirect + EOE } : here-doc @@ -185,4 +191,10 @@ testscript:1:9: error: expected here-document regex end marker EOE } + + : modifier-last + : + $* <'cmd >>~:/FOO/' 2>>EOE != 0 + testscript:1:8: error: expected here-document regex end marker + EOE } |