svn commit: [26004] trunk/busybox/shell/hush_test/hush-misc
vapier at busybox.net
vapier at busybox.net
Tue Apr 7 06:06:05 UTC 2009
Author: vapier
Date: 2009-04-07 06:06:05 +0000 (Tue, 07 Apr 2009)
New Revision: 26004
Log:
add a pathological test case for here doc related to eof marker and other ugly corner cases
Added:
trunk/busybox/shell/hush_test/hush-misc/heredoc2.right
trunk/busybox/shell/hush_test/hush-misc/heredoc2.tests
Changeset:
Added: trunk/busybox/shell/hush_test/hush-misc/heredoc2.right
===================================================================
--- trunk/busybox/shell/hush_test/hush-misc/heredoc2.right (rev 0)
+++ trunk/busybox/shell/hush_test/hush-misc/heredoc2.right 2009-04-07 06:06:05 UTC (rev 26004)
@@ -0,0 +1,7 @@
+exit EOF-f
+"
+echo 1
+moo
+ EOF-f
+EOF-f f
+EOF-f
Added: trunk/busybox/shell/hush_test/hush-misc/heredoc2.tests
===================================================================
--- trunk/busybox/shell/hush_test/hush-misc/heredoc2.tests (rev 0)
+++ trunk/busybox/shell/hush_test/hush-misc/heredoc2.tests 2009-04-07 06:06:05 UTC (rev 26004)
@@ -0,0 +1,10 @@
+f=1
+ cat <<- EOF-f
+ exit EOF-f
+"
+echo $f
+ moo
+ EOF-f
+EOF-f f
+EOF-f
+EOF-f
Property changes on: trunk/busybox/shell/hush_test/hush-misc/heredoc2.tests
___________________________________________________________________
Added: svn:executable
+ *
More information about the busybox-cvs
mailing list