From a62bc80571eae6d286aed9a92d47dc42318a8146 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 3 Oct 2016 00:06:55 +0200 Subject: ash testsuite: add most of hust tests which pass for ash Signed-off-by: Denys Vlasenko --- shell/ash_test/ash-misc/compound.tests | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 shell/ash_test/ash-misc/compound.tests (limited to 'shell/ash_test/ash-misc/compound.tests') diff --git a/shell/ash_test/ash-misc/compound.tests b/shell/ash_test/ash-misc/compound.tests new file mode 100755 index 0000000..a5e85c3 --- /dev/null +++ b/shell/ash_test/ash-misc/compound.tests @@ -0,0 +1,21 @@ +echo new group +echo 0; { :; } +echo 1; { : ;} +echo 2; ({ :; }) +echo 3; ({ : ;}) +echo 4; ( : ) +echo 5; ( :; ) +echo 6; ( : ;) +# not sure if POSIX requires these, but bash accepts them ... +#echo 7; {( : )} +#echo 8; {( :; )} +#echo 9; {( : ;)} + +echo new group +#echo 0; {(:);} + +echo new group +echo 0; (:) +echo 1; (:;) +echo 2; (:); +echo 3; (:;); -- cgit v1.1