diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-09-03 16:37:32 +0200 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-09-04 16:29:59 +0300 |
commit | 5007870b52aa549971824959a55ad3bb886f09e0 (patch) | |
tree | b0ef7f24c0b9ece2ed23f3c1792f16da324e4171 /tests/test/script/runner/pipe.test | |
parent | 09d60452a80d14d9b8bf3a9395860b50683fa1e8 (diff) |
Rename .test/test{} to .testscript/testscript{}
Diffstat (limited to 'tests/test/script/runner/pipe.test')
-rw-r--r-- | tests/test/script/runner/pipe.test | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/tests/test/script/runner/pipe.test b/tests/test/script/runner/pipe.test deleted file mode 100644 index 03d8b2a..0000000 --- a/tests/test/script/runner/pipe.test +++ /dev/null @@ -1,35 +0,0 @@ -# file : tests/test/script/runner/pipe.test -# copyright : Copyright (c) 2014-2018 Code Synthesis Ltd -# license : MIT; see accompanying LICENSE file - -.include ../common.test - -$c <'cat <foo | $* -i 1 >foo' && $b : builtin-to-process -$c <'$* -o foo | cat >foo' && $b : process-to-builtin - - -: failure -: -: Note that while both commands for the pipe are faulty the diagnostics for -: only the last one is printed. -: -{ - : exit-code - : - $c <'$* -o foo -s 1 | $* -i 1 >foo -s 2' && $b 2>>/~%EOE% != 0 - %testscript:1:1: error: .+ exit code 2 != 0% - info: stdout: test/1/stdout-2 - EOE - - : stderr - : - $c <'$* -o foo -e foo 2>bar | $* -i 2 2>baz' && $b 2>>/~%EOE% != 0 - %testscript:1:1: error: .+ stderr doesn't match expected% - info: stderr: test/1/stderr-2 - info: expected stderr: test/1/stderr-2.orig - info: stderr diff: test/1/stderr-2.diff - %.{3} - -baz - +foo - EOE -} |