diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-10-27 18:08:12 +0300 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-04 09:26:36 +0200 |
commit | b3e6cb1b899dcc6b3488f10d8eee437a6f87ad15 (patch) | |
tree | ecc0a77c4fe0c823b4a4960c626ba4835c46e20d /tests/test/script/runner/testscript | |
parent | 94f807424dbf1ed7c33ba7826f1b19b49c413b63 (diff) |
Add support of merge redirect to testscript runner
Diffstat (limited to 'tests/test/script/runner/testscript')
-rw-r--r-- | tests/test/script/runner/testscript | 117 |
1 files changed, 0 insertions, 117 deletions
diff --git a/tests/test/script/runner/testscript b/tests/test/script/runner/testscript deleted file mode 100644 index c95ed07..0000000 --- a/tests/test/script/runner/testscript +++ /dev/null @@ -1,117 +0,0 @@ -# file : tests/test/script/runner/testscript -# copyright : Copyright (c) 2014-2016 Code Synthesis Ltd -# license : MIT; see accompanying LICENSE file - -$* # status-def -$* == 0 # status-eq-0 -$* -s 1 != 0 # status-ne-0 -$* -s 1 == 1 # status-eq-1 -$* != 1 # status-ne-1 - -$* -o foo >- # out-null -$* -e foo 2>- # err-null -$* -i 0 <foo # in-str -$* -o foo >foo # out-str -$* -e foo 2>foo # err-str -$* -i 1 <foo >foo # inout-str -$* -i 2 <foo 2>foo # inerr-str -$* -i 1 -e bar <foo 1>foo 2>bar # inout-err-str - -$* -i 0 <<EOO # in-doc -foo -bar -EOO - -$* -o foo -o bar >>EOO # out-doc -foo -bar -EOO - -$* -e foo -e bar 2>>EOO # err-doc -foo -bar -EOO - -$* -i 1 <<EOI >>EOO # inout-doc -foo -bar -EOI -foo -bar -EOO - -$* -i 2 <<EOI 2>>EOE # inerr-doc -foo -bar -EOI -foo -bar -EOE - -$* -i 1 -e bar -e baz -s 2 <<EOI 1>>EOO 2>>EOE == 2 # inout-err-doc-status -foo -bar -EOI -foo -bar -EOO -bar -baz -EOE - -$* -i 1 -e "" <<EOI >>EOO 2>"" # empty-str-doc -EOI -EOO - -$* -i 1 <<EOI >>EOO # nl-containing-doc - -EOI - -EOO - -# No-newline tests. -# -# @@ TMP Need does not compare test. -# -$* -i 1 <:"foo" >:"foo" # no-newline-str -#\ -$* -i 1 <:"foo" >!"foo" # no-newline-str-fail1 -$* -i 1 <"foo" >:!"foo" # no-newline-str-fail2 -#\ - -$* -i 1 <<:EOI >>:EOO # no-newline-doc -foo -EOI -foo -EOO - -#\ -$* -i 1 <<:EOI >>!EOO # no-newline-doc-fail1 -foo -EOI -foo -EOO - -$* -i 1 <<EOI >>:!EOO # no-newline-doc-fail2 -foo -EOI -foo -EOO -#\ - -$* -i 1 <<:EOI >>:EOO 2>:"" # no-newline-empty-str-doc -EOI -EOO - -$* -i 1 <<:EOI >>:EOO # no-newline-nl-cont-doc - -EOI - -EOO - -$* -o foo >>>out; # file-redirect -$* -e bar 2>>>&out; -$* -i 1 <<<out >>EOO -foo -bar -EOO |