summaryrefslogtreecommitdiff
path: root/shell/hush_test
diff options
context:
space:
mode:
authorDenys Vlasenko2018-01-11 12:39:48 +0100
committerDenys Vlasenko2018-01-11 12:39:48 +0100
commit932b9971d05d26e353f56bdd93daec3c9f764312 (patch)
tree7c5683bbf957129eed25aa211a32bfcd9ce143ca /shell/hush_test
parentaaf7a2e24d4c284328569eff44e67e29b223822b (diff)
downloadbusybox-932b9971d05d26e353f56bdd93daec3c9f764312.zip
busybox-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/hush_test')
-rw-r--r--shell/hush_test/hush-misc/control_char1.right2
-rwxr-xr-xshell/hush_test/hush-misc/control_char1.tests2
2 files changed, 4 insertions, 0 deletions
diff --git a/shell/hush_test/hush-misc/control_char1.right b/shell/hush_test/hush-misc/control_char1.right
new file mode 100644
index 0000000..9498b42
--- /dev/null
+++ b/shell/hush_test/hush-misc/control_char1.right
@@ -0,0 +1,2 @@
+
+Done:0
diff --git a/shell/hush_test/hush-misc/control_char1.tests b/shell/hush_test/hush-misc/control_char1.tests
new file mode 100755
index 0000000..a2ebeba
--- /dev/null
+++ b/shell/hush_test/hush-misc/control_char1.tests
@@ -0,0 +1,2 @@
+echo 
+echo Done:$?