Minor tweaks: remove traces of old $COMMAND environment variable.
authorRob Landley <rob@landley.net>
Tue, 2 May 2006 21:39:04 +0000 (21:39 -0000)
committerRob Landley <rob@landley.net>
Tue, 2 May 2006 21:39:04 +0000 (21:39 -0000)
testsuite/seq.tests
testsuite/testing.sh

index 2a76d86f9633202ea17fabe8d31d3ac050768904..ebb44e7a63dc4eb6032b1eda7437e26ea3e3512c 100755 (executable)
@@ -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"
index 7c642d729880a7bdc6d802b8b63389941b89b225..e253e1aa6baffbbb8c1fb0fd8a7a98717697dbb7 100755 (executable)
@@ -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 @@ testing ()
 
   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=$?