diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-01-11 12:39:48 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-01-11 12:39:48 +0100 |
commit | 932b9971d05d26e353f56bdd93daec3c9f764312 (patch) | |
tree | 7c5683bbf957129eed25aa211a32bfcd9ce143ca /shell/hush_test/hush-misc | |
parent | aaf7a2e24d4c284328569eff44e67e29b223822b (diff) | |
download | 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/hush-misc')
-rw-r--r-- | shell/hush_test/hush-misc/control_char1.right | 2 | ||||
-rwxr-xr-x | shell/hush_test/hush-misc/control_char1.tests | 2 |
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 000000000..9498b420d --- /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 000000000..a2ebeba1b --- /dev/null +++ b/shell/hush_test/hush-misc/control_char1.tests @@ -0,0 +1,2 @@ +echo +echo Done:$? |