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/for_with_bslashes.tests | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 shell/ash_test/ash-misc/for_with_bslashes.tests (limited to 'shell/ash_test/ash-misc/for_with_bslashes.tests') diff --git a/shell/ash_test/ash-misc/for_with_bslashes.tests b/shell/ash_test/ash-misc/for_with_bslashes.tests new file mode 100755 index 000000000..363f3d85b --- /dev/null +++ b/shell/ash_test/ash-misc/for_with_bslashes.tests @@ -0,0 +1,10 @@ +# UNFIXED BUG. +# commented-out words contain ^C character. +# It's a SPECIAL_VAR_SYMBOL, for now hush does not escape it. +# When it is fixed, update this test. + +for a in 'a' 'b\c' 'b\\c' 'b"c' "b'c" 'b$c' 'b`true`c' ### 'b#c' +do + echo $a +done +echo Zero:$? -- cgit v1.2.3