aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-misc
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-01-11 12:39:48 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2018-01-11 12:39:48 +0100
commit932b9971d05d26e353f56bdd93daec3c9f764312 (patch)
tree7c5683bbf957129eed25aa211a32bfcd9ce143ca /shell/ash_test/ash-misc
parentaaf7a2e24d4c284328569eff44e67e29b223822b (diff)
downloadbusybox-932b9971d05d26e353f56bdd93daec3c9f764312.tar.gz
hush: fix handling of raw ^C in scripts: "echo ^C"
function old new delta expand_vars_to_list 1133 1187 +54 parse_stream 2690 2719 +29 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-misc')
-rw-r--r--shell/ash_test/ash-misc/control_char1.right2
-rwxr-xr-xshell/ash_test/ash-misc/control_char1.tests2
2 files changed, 4 insertions, 0 deletions
diff --git a/shell/ash_test/ash-misc/control_char1.right b/shell/ash_test/ash-misc/control_char1.right
new file mode 100644
index 000000000..9498b420d
--- /dev/null
+++ b/shell/ash_test/ash-misc/control_char1.right
@@ -0,0 +1,2 @@
+
+Done:0
diff --git a/shell/ash_test/ash-misc/control_char1.tests b/shell/ash_test/ash-misc/control_char1.tests
new file mode 100755
index 000000000..a2ebeba1b
--- /dev/null
+++ b/shell/ash_test/ash-misc/control_char1.tests
@@ -0,0 +1,2 @@
+echo 
+echo Done:$?