svn commit: trunk/busybox/shell/hush_test: hush-bugs hush-parsing
vda at busybox.net
vda at busybox.net
Wed Jun 18 09:22:33 UTC 2008
Author: vda
Date: 2008-06-18 02:22:31 -0700 (Wed, 18 Jun 2008)
New Revision: 22411
Log:
hush: expand quote3.tests and move from hush-bugs to hush-parsing
Added:
trunk/busybox/shell/hush_test/hush-parsing/quote3.right
trunk/busybox/shell/hush_test/hush-parsing/quote3.tests
Removed:
trunk/busybox/shell/hush_test/hush-bugs/quote3.right
trunk/busybox/shell/hush_test/hush-bugs/quote3.tests
Changeset:
Deleted: trunk/busybox/shell/hush_test/hush-bugs/quote3.right
===================================================================
--- trunk/busybox/shell/hush_test/hush-bugs/quote3.right 2008-06-18 09:20:35 UTC (rev 22410)
+++ trunk/busybox/shell/hush_test/hush-bugs/quote3.right 2008-06-18 09:22:31 UTC (rev 22411)
@@ -1,3 +0,0 @@
-Testing: in $empty""
-..
-Finished
Deleted: trunk/busybox/shell/hush_test/hush-bugs/quote3.tests
===================================================================
--- trunk/busybox/shell/hush_test/hush-bugs/quote3.tests 2008-06-18 09:20:35 UTC (rev 22410)
+++ trunk/busybox/shell/hush_test/hush-bugs/quote3.tests 2008-06-18 09:22:31 UTC (rev 22411)
@@ -1,8 +0,0 @@
-if test $# = 0; then
- exec "$THIS_SH" quote3.tests abc "d e"
-fi
-
-echo 'Testing: in $empty""'
-empty=''
-for a in $empty""; do echo ".$a."; done
-echo Finished
Added: trunk/busybox/shell/hush_test/hush-parsing/quote3.right
===================================================================
--- trunk/busybox/shell/hush_test/hush-parsing/quote3.right (rev 0)
+++ trunk/busybox/shell/hush_test/hush-parsing/quote3.right 2008-06-18 09:22:31 UTC (rev 22411)
@@ -0,0 +1,12 @@
+Testing: in ""
+..
+Testing: in ''
+..
+Testing: in $empty
+Testing: in $empty""
+..
+Testing: in $empty''
+..
+Testing: in "$empty"
+..
+Finished
Added: trunk/busybox/shell/hush_test/hush-parsing/quote3.tests
===================================================================
--- trunk/busybox/shell/hush_test/hush-parsing/quote3.tests (rev 0)
+++ trunk/busybox/shell/hush_test/hush-parsing/quote3.tests 2008-06-18 09:22:31 UTC (rev 22411)
@@ -0,0 +1,21 @@
+empty=''
+
+echo 'Testing: in ""'
+for a in ""; do echo ".$a."; done
+
+echo 'Testing: in '"''"
+for a in ''; do echo ".$a."; done
+
+echo 'Testing: in $empty'
+for a in $empty; do echo ".$a."; done
+
+echo 'Testing: in $empty""'
+for a in $empty""; do echo ".$a."; done
+
+echo 'Testing: in $empty'"''"
+for a in $empty''; do echo ".$a."; done
+
+echo 'Testing: in "$empty"'
+for a in "$empty"; do echo ".$a."; done
+
+echo Finished
Property changes on: trunk/busybox/shell/hush_test/hush-parsing/quote3.tests
___________________________________________________________________
Name: svn:executable
+ *
More information about the busybox-cvs
mailing list