aboutsummaryrefslogtreecommitdiff
path: root/testsuite/testing.sh
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-05-02 21:39:04 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-05-02 21:39:04 +0000
commit20ed24132a6663c03e0ded3c836fac9f150e8d7b (patch)
treebbd3166aa5eb089b2e3e9332b301ab48af19de68 /testsuite/testing.sh
parent1d1fd21e3536c1c593a3efa4c939d8035f594f76 (diff)
downloadbusybox-w32-20ed24132a6663c03e0ded3c836fac9f150e8d7b.tar.gz
busybox-w32-20ed24132a6663c03e0ded3c836fac9f150e8d7b.tar.bz2
busybox-w32-20ed24132a6663c03e0ded3c836fac9f150e8d7b.zip
Minor tweaks: remove traces of old $COMMAND environment variable.
git-svn-id: svn://busybox.net/trunk/busybox@14980 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to '')
-rwxr-xr-xtestsuite/testing.sh5
1 files changed, 1 insertions, 4 deletions
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 @@
6 6
7# This file defines two functions, "testing" and "optionflag" 7# This file defines two functions, "testing" and "optionflag"
8 8
9# The "testing" function must have the following environment variable set:
10# COMMAND = command to execute
11#
12# The following environment variables may be set to enable optional behavior 9# The following environment variables may be set to enable optional behavior
13# in "testing": 10# in "testing":
14# VERBOSE - Print the diff -u of each failed test case. 11# VERBOSE - Print the diff -u of each failed test case.
@@ -75,7 +72,7 @@ testing ()
75 72
76 echo -ne "$3" > expected 73 echo -ne "$3" > expected
77 echo -ne "$4" > input 74 echo -ne "$4" > input
78 [ -z "$VERBOSE" ] || echo "echo '$5' | $COMMAND $2" 75 [ -z "$VERBOSE" ] || echo "echo '$5' | $2"
79 echo -ne "$5" | eval "$2" > actual 76 echo -ne "$5" | eval "$2" > actual
80 RETVAL=$? 77 RETVAL=$?
81 78