]> scripts.mit.edu Git - wizard.git/blobdiff - tests/setup
Fix non-zero shell exit code and --continue in wrong directory.
[wizard.git] / tests / setup
index 5ad70ccbad46267174b50604b9f51635a5bc6e07..edf6db9b929d7bf0ab05c11495d659d97486d220 100644 (file)
@@ -4,6 +4,8 @@
 #   TESTNAME = name of the test
 # we produce $TESTDIR and $TESTID for config and test script to use.
 
+export PATH="`pwd`/../bin:$PATH"
+
 VERSION="$1"
 if [ "$VERSION" == "" ]; then
     if [ "$DEFAULT_HEAD" == "1" ]; then
@@ -34,7 +36,3 @@ if [ -e "$TESTDIR" ]; then
     wizard remove "$TESTDIR" || rm -Rf "$TESTDIR"
 fi
 
-if [ -e "prepare" ]; then
-    source ./prepare
-fi
-