From 932b9971d05d26e353f56bdd93daec3c9f764312 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 11 Jan 2018 12:39:48 +0100 Subject: 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 --- shell/ash_test/ash-misc/control_char1.right | 2 ++ shell/ash_test/ash-misc/control_char1.tests | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 shell/ash_test/ash-misc/control_char1.right create mode 100755 shell/ash_test/ash-misc/control_char1.tests (limited to 'shell/ash_test/ash-misc') 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:$? -- cgit v1.2.3