svn commit: trunk/busybox/testsuite

landley at busybox.net landley at busybox.net
Tue May 2 21:39:06 UTC 2006


Author: landley
Date: 2006-05-02 14:39:04 -0700 (Tue, 02 May 2006)
New Revision: 14980

Log:
Minor tweaks: remove traces of old $COMMAND environment variable.



Modified:
   trunk/busybox/testsuite/seq.tests
   trunk/busybox/testsuite/testing.sh


Changeset:
Modified: trunk/busybox/testsuite/seq.tests
===================================================================
--- trunk/busybox/testsuite/seq.tests	2006-05-02 21:35:55 UTC (rev 14979)
+++ trunk/busybox/testsuite/seq.tests	2006-05-02 21:39:04 UTC (rev 14980)
@@ -6,7 +6,6 @@
 
 # AUDIT: Full SUSv3 coverage (except internationalization).
 
-[ -z "$COMMAND" ] && COMMAND=seq
 . testing.sh
 
 # testing "test name" "options" "expected result" "file input" "stdin"

Modified: trunk/busybox/testsuite/testing.sh
===================================================================
--- trunk/busybox/testsuite/testing.sh	2006-05-02 21:35:55 UTC (rev 14979)
+++ trunk/busybox/testsuite/testing.sh	2006-05-02 21:39:04 UTC (rev 14980)
@@ -6,9 +6,6 @@
 
 # This file defines two functions, "testing" and "optionflag"
 
-# The "testing" function must have the following environment variable set:
-#    COMMAND = command to execute
-#
 # The following environment variables may be set to enable optional behavior
 # in "testing":
 #    VERBOSE - Print the diff -u of each failed test case.
@@ -75,7 +72,7 @@
 
   echo -ne "$3" > expected
   echo -ne "$4" > input
-  [ -z "$VERBOSE" ] || echo "echo '$5' | $COMMAND $2"
+  [ -z "$VERBOSE" ] || echo "echo '$5' | $2"
   echo -ne "$5" | eval "$2" > actual
   RETVAL=$?
 




More information about the busybox-cvs mailing list