From 193c81ed776dbca3683e3aee997a62dd2b500a4f Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 24 Jan 2017 18:08:09 +0300 Subject: Adapt to file redirect syntax change --- tests/file/testscript | 28 ++++++++++++++-------------- tests/headings/testscript | 2 +- tests/toc/testscript | 2 +- unit-tests/lexer/testscript | 14 +++++++------- unit-tests/parser/testscript | 22 +++++++++++----------- 5 files changed, 34 insertions(+), 34 deletions(-) diff --git a/tests/file/testscript b/tests/file/testscript index f64e15f..699f2f3 100644 --- a/tests/file/testscript +++ b/tests/file/testscript @@ -8,12 +8,12 @@ # eol = "" -+cat <>>empty.cli ++cat <=empty.cli # Empty options file. # EOI -+cat <>>base.cli ++cat <=base.cli -a 21 -b 21 EOI @@ -23,7 +23,7 @@ EOI : 000 : -cat <>>test.cli; +cat <=test.cli; -a 11 -b 11 -a 12 @@ -54,7 +54,7 @@ EOO : 001 : -cat <>>test.cli; +cat <=test.cli; # Empty options file. # @@ -70,7 +70,7 @@ EOO : 002 : -cat <>>test.cli; +cat <=test.cli; -a 11 -b 11 -- @@ -114,7 +114,7 @@ EOE : 004 : -cat <>>test.cli; +cat <=test.cli; -a a"b"c -a "abc" -a "a"b" @@ -170,7 +170,7 @@ EOO : 005 : -cat <>>test.cli; +cat <=test.cli; -a " EOI $* --file test.cli 2>>EOE @@ -179,7 +179,7 @@ EOE : 006 : -cat <>>test.cli; +cat <=test.cli; -a "abc EOI $* --file test.cli 2>>EOE @@ -188,7 +188,7 @@ EOE : 007 : -cat <>>test.cli; +cat <=test.cli; -a abc" EOI $* --file test.cli 2>>EOE @@ -197,7 +197,7 @@ EOE : 008 : -cat <>>test.cli; +cat <=test.cli; -a ' EOI $* --file test.cli 2>>EOE @@ -206,7 +206,7 @@ EOE : 009 : -cat <>>test.cli; +cat <=test.cli; -a 'abc EOI $* --file test.cli 2>>EOE @@ -215,7 +215,7 @@ EOE : 010 : -cat <>>test.cli; +cat <=test.cli; -a abc' EOI $* --file test.cli 2>>EOE @@ -224,7 +224,7 @@ EOE : 011 : -cat <>>test.cli; +cat <=test.cli; -a "abc' EOI $* --file test.cli 2>>EOE @@ -233,7 +233,7 @@ EOE : 012 : -cat <>>test.cli; +cat <=test.cli; -a 'abc" EOI $* --file test.cli 2>>EOE diff --git a/tests/headings/testscript b/tests/headings/testscript index 5923a90..5e03c4a 100644 --- a/tests/headings/testscript +++ b/tests/headings/testscript @@ -8,7 +8,7 @@ test = $effect($cli.path) : : Note that auto-headings break if we split into multiple doc strings. : -cat <>>map.cli; +cat <=map.cli; " \h1|Heading 1| diff --git a/tests/toc/testscript b/tests/toc/testscript index de588cf..5bac6fd 100644 --- a/tests/toc/testscript +++ b/tests/toc/testscript @@ -6,7 +6,7 @@ test = $effect($cli.path) : toc : -cat <>>toc.cli; +cat <=toc.cli; "\h1|Table of Contents|" "\$TOC$" diff --git a/unit-tests/lexer/testscript b/unit-tests/lexer/testscript index 8b0d8a5..4c2671b 100644 --- a/unit-tests/lexer/testscript +++ b/unit-tests/lexer/testscript @@ -7,7 +7,7 @@ : 000 : -cat <>>test.cli; +cat <=test.cli; help help-me -h @@ -37,7 +37,7 @@ EOO : 001 : -cat <>>test.cli; +cat <=test.cli; 5 123456 -12345 @@ -56,7 +56,7 @@ EOO : 002 : -cat <>>test.cli; +cat <=test.cli; 'a' '\n' '\\' @@ -78,7 +78,7 @@ EOO : 003 : -cat <>>test.cli; +cat <=test.cli; "abc"; "a\nb"; "abc\\"; @@ -122,7 +122,7 @@ EOO : 004 : -cat <>>test.cli; +cat <=test.cli; include "foo/abc.hxx"; include ; include "c++:map"; @@ -149,7 +149,7 @@ EOO : 005 : -cat <>>test.cli; +cat <=test.cli; (abc, 123 - 345, 12.34) EOI @@ -161,7 +161,7 @@ EOO : 006 : -cat <>>test.cli; +cat <=test.cli; // c++ comment ; /* c comment ; */ ; diff --git a/unit-tests/parser/testscript b/unit-tests/parser/testscript index 5ad88fc..dbd1722 100644 --- a/unit-tests/parser/testscript +++ b/unit-tests/parser/testscript @@ -8,7 +8,7 @@ : 000 : -cat <>>test.cli; +cat <=test.cli; // def-unit // include ; @@ -19,12 +19,12 @@ $* test.cli >:"" : 001 : -cat <>>base.cli; +cat <=base.cli; EOI -cat <>>common.cli; +cat <=common.cli; include "base.cli"; EOI -cat <>>test.cli; +cat <=test.cli; // include-decl-seq, include-decl // include ; @@ -36,7 +36,7 @@ $* test.cli >:"" : 002 : -cat <>>test.cli; +cat <=test.cli; // namespace-def, namespace-def-body // namespace n1 {} @@ -57,7 +57,7 @@ $* test.cli >:"" : 003 : -cat <>>test.cli; +cat <=test.cli; // class-def, inheritance-spec, abstract-spec // class c1 @@ -86,7 +86,7 @@ $* test.cli >:"" : 004 : -cat <>>test.cli; +cat <=test.cli; // option-def-seq // class c @@ -100,7 +100,7 @@ $* test.cli >:"" : 005 : -cat <>>test.cli; +cat <=test.cli; // option-def, type-spec, fundamental-type-spec, option-name-seq, // option-name, initializer, initializer-expr // @@ -173,7 +173,7 @@ $* test.cli >:"" : 006 : -cat <>>test.cli; +cat <=test.cli; // option-doc // class c @@ -195,7 +195,7 @@ $* test.cli >:"" : 007 : -cat <>>base.cli; +cat <=base.cli; class b1 {}; namespace n1 @@ -208,7 +208,7 @@ namespace n1 } } EOI -cat <>>test.cli; +cat <=test.cli; // base class lookup // -- cgit v1.1