aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/zbad2
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-02-10 12:10:08 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-02-10 12:10:08 +0000
commit05743d79496cf96e9f6f645b6bbc165d51e6aa5c (patch)
tree50fb492810d898cdcafe63009bbb08a1dde039ca /shell/hush_test/zbad2
parent68e8e96d7fba018b5b2354434fe0ae95fdfffc4f (diff)
downloadbusybox-05743d79496cf96e9f6f645b6bbc165d51e6aa5c.tar.gz
hush: reinstate `cmd` handling for NOMMU (with fat big warning).
hush: fix a case where none of pipe members could be started because of fork failure hush: rename functions: xxx_real -> xxx hush: try to add a bit more of vfork-friendliness hush: add rudimentary design docs hush: add TODO (newly discovered bug with globbing)
Diffstat (limited to 'shell/hush_test/zbad2')
-rw-r--r--shell/hush_test/zbad219
1 files changed, 19 insertions, 0 deletions
diff --git a/shell/hush_test/zbad2 b/shell/hush_test/zbad2
new file mode 100644
index 000000000..c30fa85a0
--- /dev/null
+++ b/shell/hush_test/zbad2
@@ -0,0 +1,19 @@
+## TODO: fix and add to testsuite
+
+## # bash zbad2
+## ZVAR=z.map
+## *.map
+## # hush zbad2
+## ZVAR=z.map
+## z.map <====== !!!
+
+## hush does globbing for "VAR=val" too!
+## it should do it only for non-assignments.
+## even if word looks like assignment, it can be non-assignemnt:
+## ZVAR=*.map /bin/echo ZVAR=*.map
+## ^dont_glob ^glob
+
+>ZVAR=z.map
+ZVAR=*.map /bin/echo ZVAR=*.map
+ZVAR=*.map
+echo "$ZVAR"