From b70cef71ebf1e71d147e1dee57134b1ad1da6314 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 12 Jan 2010 13:45:45 +0100 Subject: hush: two NOMMU fixes for bugs 877 and 883 Signed-off-by: Denys Vlasenko --- shell/hush_test/hush-misc/nommu2.right | 5 +++++ shell/hush_test/hush-misc/nommu2.tests | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 shell/hush_test/hush-misc/nommu2.right create mode 100755 shell/hush_test/hush-misc/nommu2.tests (limited to 'shell/hush_test/hush-misc') diff --git a/shell/hush_test/hush-misc/nommu2.right b/shell/hush_test/hush-misc/nommu2.right new file mode 100644 index 000000000..fb8ba8b5c --- /dev/null +++ b/shell/hush_test/hush-misc/nommu2.right @@ -0,0 +1,5 @@ +Ok +Ok +Ok +Ok +Done diff --git a/shell/hush_test/hush-misc/nommu2.tests b/shell/hush_test/hush-misc/nommu2.tests new file mode 100755 index 000000000..61ed5ce5b --- /dev/null +++ b/shell/hush_test/hush-misc/nommu2.tests @@ -0,0 +1,5 @@ +echo Not shown | if true; then echo $(echo Ok); fi +echo Not shown | if true; then echo `echo Ok`; fi +echo Not shown | ( if true; then echo $(echo Ok); fi ) +echo Not shown | ( if true; then echo `echo Ok`; fi ) +echo Done -- cgit v1.2.3