aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-misc/for_with_bslashes.tests
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-01-13 19:14:27 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2018-01-13 19:14:27 +0100
commit9809a82b5983ac3184906fff2df48765dab372c8 (patch)
treec546d6d19616ebdc0bef6bf0cb48a067816ee586 /shell/ash_test/ash-misc/for_with_bslashes.tests
parent6606c519efa9a74c53bf05e53e07a8d8f0eb37c7 (diff)
downloadbusybox-9809a82b5983ac3184906fff2df48765dab372c8.tar.gz
hush: fix raw ^C handlisg in single-quoted strings
function old new delta parse_stream 2719 2754 +35 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-misc/for_with_bslashes.tests')
-rwxr-xr-xshell/ash_test/ash-misc/for_with_bslashes.tests8
1 files changed, 2 insertions, 6 deletions
diff --git a/shell/ash_test/ash-misc/for_with_bslashes.tests b/shell/ash_test/ash-misc/for_with_bslashes.tests
index 363f3d85b..8acd9808a 100755
--- a/shell/ash_test/ash-misc/for_with_bslashes.tests
+++ b/shell/ash_test/ash-misc/for_with_bslashes.tests
@@ -1,9 +1,5 @@
-# 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'
+# last word contains ^C character.
+for a in 'a' 'b\c' 'b\\c' 'b"c' "b'c" 'b$c' 'b`true`c' 'b#c'
do
echo $a
done