summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-misc/control_char2.tests
diff options
context:
space:
mode:
authorDenys Vlasenko2018-01-11 13:17:30 +0100
committerDenys Vlasenko2018-01-11 13:17:30 +0100
commit1f1911239c0874d49a31d0ef2e618d0a1086a8df (patch)
treeebf78e950ff4cc7445ed7dfa9888a21c84c347af /shell/hush_test/hush-misc/control_char2.tests
parent932b9971d05d26e353f56bdd93daec3c9f764312 (diff)
downloadbusybox-1f1911239c0874d49a31d0ef2e618d0a1086a8df.zip
busybox-1f1911239c0874d49a31d0ef2e618d0a1086a8df.tar.gz
hush: fix handling of ^C in eval
function old new delta run_list 1044 1259 +215 builtin_eval 45 126 +81 expand_strvec_to_string 91 - -91 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 2/0 up/down: 296/-91) Total: 205 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-misc/control_char2.tests')
-rwxr-xr-xshell/hush_test/hush-misc/control_char2.tests3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/hush_test/hush-misc/control_char2.tests b/shell/hush_test/hush-misc/control_char2.tests
new file mode 100755
index 0000000..e77d7a1
--- /dev/null
+++ b/shell/hush_test/hush-misc/control_char2.tests
@@ -0,0 +1,3 @@
+c=`printf '\3'`
+eval "echo $c"
+echo Done:$?