svn commit: trunk/busybox/shell/ash_test/ash-vars

vda at busybox.net vda at busybox.net
Sun Apr 13 17:45:57 UTC 2008


Author: vda
Date: 2008-04-13 10:45:56 -0700 (Sun, 13 Apr 2008)
New Revision: 21728

Log:
ash: add another testsuite entry ("leaking variables" bug)



Added:
   trunk/busybox/shell/ash_test/ash-vars/var_leak.right
   trunk/busybox/shell/ash_test/ash-vars/var_leak.tests


Changeset:
Added: trunk/busybox/shell/ash_test/ash-vars/var_leak.right
===================================================================
--- trunk/busybox/shell/ash_test/ash-vars/var_leak.right	                        (rev 0)
+++ trunk/busybox/shell/ash_test/ash-vars/var_leak.right	2008-04-13 17:45:56 UTC (rev 21728)
@@ -0,0 +1,2 @@
+should be empty: ''
+should be empty: ''

Added: trunk/busybox/shell/ash_test/ash-vars/var_leak.tests
===================================================================
--- trunk/busybox/shell/ash_test/ash-vars/var_leak.tests	                        (rev 0)
+++ trunk/busybox/shell/ash_test/ash-vars/var_leak.tests	2008-04-13 17:45:56 UTC (rev 21728)
@@ -0,0 +1,9 @@
+# This currently fails with CONFIG_FEATURE_SH_NOFORK=y
+VAR=''
+VAR=qwe true
+echo "should be empty: '$VAR'"
+
+# This fails (always)
+VAR=''
+VAR=qwe exec 2>&1
+echo "should be empty: '$VAR'"


Property changes on: trunk/busybox/shell/ash_test/ash-vars/var_leak.tests
___________________________________________________________________
Name: svn:executable
   + *




More information about the busybox-cvs mailing list