hush: fix misparsing of "... do eval a= ...". Closes 3721
[oweals/busybox.git] / shell / hush_test / hush-misc / redir4.tests
index ac2a4416609268a6668c67b0d8df52786e6d3d87..c50b8cedfcb164a7f39037408e77f760e906ffcc 100755 (executable)
@@ -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