aboutsummaryrefslogtreecommitdiff
path: root/scripts/test.sh
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2008-05-04 19:44:39 -0500
committerRob Landley <rob@landley.net>2008-05-04 19:44:39 -0500
commite156d44eb2e9954d37ed0dfa326f263c3ed4c3d7 (patch)
tree50656439c4f695318f93a6a0c315c50e16d589e6 /scripts/test.sh
parent121a9d47fb33371046131fef12233974be518170 (diff)
downloadtoybox-e156d44eb2e9954d37ed0dfa326f263c3ed4c3d7.tar.gz
More tweaks to rmdir.test and the testing infrastructure.
Diffstat (limited to 'scripts/test.sh')
-rwxr-xr-xscripts/test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/test.sh b/scripts/test.sh
index 8a080dbf..d532aabe 100755
--- a/scripts/test.sh
+++ b/scripts/test.sh
@@ -5,7 +5,7 @@
rm -rf testdir
mkdir -p testdir
-if [ -z "$OLD" ]
+if [ -z "$TEST_HOST" ]
then
make install_flat PREFIX=testdir || exit 1
fi
@@ -26,7 +26,7 @@ else
for i in "$TOPDIR"/scripts/test/*.test
do
CMDNAME="$(echo "$i" | sed 's@.*/\(.*\)\.test@\1@')"
- if [ -h $CMDNAME ]
+ if [ -h $CMDNAME ] || [ ! -z "$TEST_HOST" ]
then
. $i
else