From b8c9354114f589920d9321e08d138c96ebf77f9d Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 8 Jun 2008 16:47:09 +0000 Subject: [PATCH] hush: add yet another bug to testsuite :( --- shell/hush_test/hush-bugs/tick2.right | 1 + shell/hush_test/hush-bugs/tick2.tests | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 shell/hush_test/hush-bugs/tick2.right create mode 100755 shell/hush_test/hush-bugs/tick2.tests diff --git a/shell/hush_test/hush-bugs/tick2.right b/shell/hush_test/hush-bugs/tick2.right new file mode 100644 index 000000000..216c883b8 --- /dev/null +++ b/shell/hush_test/hush-bugs/tick2.right @@ -0,0 +1 @@ +BAZ diff --git a/shell/hush_test/hush-bugs/tick2.tests b/shell/hush_test/hush-bugs/tick2.tests new file mode 100755 index 000000000..dc518057c --- /dev/null +++ b/shell/hush_test/hush-bugs/tick2.tests @@ -0,0 +1,6 @@ +# Bag: backticks are executed even inside not-taken if +if false; then + echo "FOO" + tmp=`echo BAR >&2` +fi +echo BAZ -- 2.25.1