summaryrefslogtreecommitdiff
path: root/shell/hush_test
diff options
context:
space:
mode:
authorDenys Vlasenko2010-01-12 13:45:45 +0100
committerDenys Vlasenko2010-01-12 13:45:45 +0100
commitb70cef71ebf1e71d147e1dee57134b1ad1da6314 (patch)
treee05f08a7b4c7d4c07a9becc48fc2d881ff82bfd1 /shell/hush_test
parentf2c8aa6676ebedc34b2cd5089ce6f13c16db1277 (diff)
downloadbusybox-b70cef71ebf1e71d147e1dee57134b1ad1da6314.zip
busybox-b70cef71ebf1e71d147e1dee57134b1ad1da6314.tar.gz
hush: two NOMMU fixes for bugs 877 and 883
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test')
-rw-r--r--shell/hush_test/hush-misc/nommu2.right5
-rwxr-xr-xshell/hush_test/hush-misc/nommu2.tests5
2 files changed, 10 insertions, 0 deletions
diff --git a/shell/hush_test/hush-misc/nommu2.right b/shell/hush_test/hush-misc/nommu2.right
new file mode 100644
index 0000000..fb8ba8b
--- /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 0000000..61ed5ce
--- /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