From b3e6cb1b899dcc6b3488f10d8eee437a6f87ad15 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 27 Oct 2016 18:08:12 +0300 Subject: Add support of merge redirect to testscript runner --- tests/test/script/runner/testscript | 117 ------------------------------------ 1 file changed, 117 deletions(-) delete mode 100644 tests/test/script/runner/testscript (limited to 'tests/test/script/runner/testscript') 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 # out-str -$* -e foo 2>foo # err-str -$* -i 1 foo # inout-str -$* -i 2 foo # inerr-str -$* -i 1 -e bar foo 2>bar # inout-err-str - -$* -i 0 <>EOO # out-doc -foo -bar -EOO - -$* -e foo -e bar 2>>EOO # err-doc -foo -bar -EOO - -$* -i 1 <>EOO # inout-doc -foo -bar -EOI -foo -bar -EOO - -$* -i 2 <>EOE # inerr-doc -foo -bar -EOI -foo -bar -EOE - -$* -i 1 -e bar -e baz -s 2 <>EOO 2>>EOE == 2 # inout-err-doc-status -foo -bar -EOI -foo -bar -EOO -bar -baz -EOE - -$* -i 1 -e "" <>EOO 2>"" # empty-str-doc -EOI -EOO - -$* -i 1 <>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 <>:!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 <<>EOO -foo -bar -EOO -- cgit v1.1