diff options
Diffstat (limited to 'unit-tests/test/script/parser')
-rw-r--r-- | unit-tests/test/script/parser/buildfile | 3 | ||||
-rw-r--r-- | unit-tests/test/script/parser/redirect.test | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/unit-tests/test/script/parser/buildfile b/unit-tests/test/script/parser/buildfile index 18acd20..b053971 100644 --- a/unit-tests/test/script/parser/buildfile +++ b/unit-tests/test/script/parser/buildfile @@ -11,6 +11,7 @@ filesystem config/{utility init operation} dump types-parsers \ test/{target script/{token lexer parser script}} exe{driver}: cxx{driver} ../../../../build2/cxx{$src} $libs \ -test{pre-parse expansion here-document command-re-parse scope setup-teardown} +test{pre-parse expansion redirect here-document command-re-parse scope \ + setup-teardown} include ../../../../build2/ diff --git a/unit-tests/test/script/parser/redirect.test b/unit-tests/test/script/parser/redirect.test new file mode 100644 index 0000000..83b40cd --- /dev/null +++ b/unit-tests/test/script/parser/redirect.test @@ -0,0 +1,5 @@ +$* <<EOI >>EOO # file +cmd 0<<<a 1>>>b 2>>>&c +EOI +cmd <<<a >>>b 2>>>&c +EOO |