From 5daf46f700217521e8ba90c4be0e0369105544df Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 26 Oct 2016 12:32:46 +0300 Subject: Add support of file redirects to testscript runner --- tests/test/script/runner/testscript | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'tests/test/script/runner/testscript') diff --git a/tests/test/script/runner/testscript b/tests/test/script/runner/testscript index 292e8ec..c95ed07 100644 --- a/tests/test/script/runner/testscript +++ b/tests/test/script/runner/testscript @@ -2,8 +2,6 @@ # copyright : Copyright (c) 2014-2016 Code Synthesis Ltd # license : MIT; see accompanying LICENSE file -#$* -o foo <<>>&bbb 2>>>ccc - $* # status-def $* == 0 # status-eq-0 $* -s 1 != 0 # status-ne-0 @@ -110,3 +108,10 @@ $* -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