summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-05-02 21:39:04 +0000
committerRob Landley <rob@landley.net>2006-05-02 21:39:04 +0000
commit67d5b8b5b1795a08eadfd3af467dc7a3e18d8769 (patch)
treebbd3166aa5eb089b2e3e9332b301ab48af19de68 /testsuite
parent2631486f1bfac59f9217350effcda627da7be875 (diff)
downloadbusybox-67d5b8b5b1795a08eadfd3af467dc7a3e18d8769.tar.gz
Minor tweaks: remove traces of old $COMMAND environment variable.
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/seq.tests1
-rwxr-xr-xtestsuite/testing.sh5
2 files changed, 1 insertions, 5 deletions
diff --git a/testsuite/seq.tests b/testsuite/seq.tests
index 2a76d86f9..ebb44e7a6 100755
--- a/testsuite/seq.tests
+++ b/testsuite/seq.tests
@@ -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"
diff --git a/testsuite/testing.sh b/testsuite/testing.sh
index 7c642d729..e253e1aa6 100755
--- a/testsuite/testing.sh
+++ b/testsuite/testing.sh
@@ -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=$?