From 5007870b52aa549971824959a55ad3bb886f09e0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 3 Sep 2018 16:37:32 +0200 Subject: Rename .test/test{} to .testscript/testscript{} --- unit-tests/test/script/parser/exit.testscript | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 unit-tests/test/script/parser/exit.testscript (limited to 'unit-tests/test/script/parser/exit.testscript') diff --git a/unit-tests/test/script/parser/exit.testscript b/unit-tests/test/script/parser/exit.testscript new file mode 100644 index 0000000..af3707d --- /dev/null +++ b/unit-tests/test/script/parser/exit.testscript @@ -0,0 +1,27 @@ +# file : unit-tests/test/script/parser/exit.testscript +# copyright : Copyright (c) 2014-2018 Code Synthesis Ltd +# license : MIT; see accompanying LICENSE file + +: eq +: +$* <>EOO +cmd == 1 +EOI +cmd == 1 +EOO + +: ne +: +$* <>EOO +cmd!=1 +EOI +cmd != 1 +EOO + +: end +: +$* <>EOE != 0 +cmd != 1 <"foo" +EOI +testscript:1:10: error: unexpected '<' after command exit status +EOE -- cgit v1.1