aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-misc/redir4.tests
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-04-10 12:03:20 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-04-10 12:03:20 +0000
commit1fd1ea4395e520694bd9f8b1dc9e60af6442946d (patch)
treeffe931a1e9254789ac119321f88b17767176c73c /shell/hush_test/hush-misc/redir4.tests
parent551bdfecb7cfb4df0f127d34884e0a9502324acd (diff)
downloadbusybox-1fd1ea4395e520694bd9f8b1dc9e60af6442946d.tar.gz
hush: tighten up "for" variable name check.
Add TODOs. Disable redir4.right part where we differ from bash. It is not a bug per standards. Add a few tests, one is in hush-bugs section: and_or_and_backgrounding.right. It will likely bite users in real world usage.
Diffstat (limited to 'shell/hush_test/hush-misc/redir4.tests')
-rwxr-xr-xshell/hush_test/hush-misc/redir4.tests7
1 files changed, 6 insertions, 1 deletions
diff --git a/shell/hush_test/hush-misc/redir4.tests b/shell/hush_test/hush-misc/redir4.tests
index ac2a44166..c50b8cedf 100755
--- a/shell/hush_test/hush-misc/redir4.tests
+++ b/shell/hush_test/hush-misc/redir4.tests
@@ -38,7 +38,7 @@ Here4
echo Ok4
-echo How with variable refs
+echo Now with variable refs
i=1
@@ -58,6 +58,11 @@ rm *shell_test*
echo *shell_test*
rm *shell_test*
+echo Done;exit
+# UNFIXED BUG. bash apparently will expand $i even in terminating delimiter.
+# http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html
+# does not mandate this behavior.
+# This is not likely to be used much in real-world.
cat <<\shell_test_$i
Here1