aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-03-23 03:44:51 -0500
committerRob Landley <rob@landley.net>2016-03-23 03:44:51 -0500
commit1ffa7f45eb4fe3b73f94e69c929ad311d9c44b81 (patch)
tree2e4607cd74dfeb942fa65bf7c5cf23d07dc1d066 /scripts
parentb52f642472af932e382342c4faf30643b91f6be1 (diff)
downloadtoybox-1ffa7f45eb4fe3b73f94e69c929ad311d9c44b81.tar.gz
Fix bzcat.test (as noted by Andy Chu), wean tests off $TOPDIR and supply $FILES
instead, move tests/blkid into tests/files/blkid.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/test.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/test.sh b/scripts/test.sh
index 0c3d7aaf..1337c529 100755
--- a/scripts/test.sh
+++ b/scripts/test.sh
@@ -1,6 +1,7 @@
#!/bin/bash
-[ -z "$TOPDIR" ] && TOPDIR="$(pwd)"
+TOPDIR="$PWD"
+FILES="$PWD"/tests/files
trap 'kill $(jobs -p) 2>/dev/null; exit 1' INT