Find the right directory to run the test components.
authorMartin Pool <mbp@samba.org>
Fri, 17 Aug 2001 00:58:21 +0000 (00:58 +0000)
committerMartin Pool <mbp@samba.org>
Fri, 17 Aug 2001 00:58:21 +0000 (00:58 +0000)
testsuite/master.test

index ab7391d..5356d22 100755 (executable)
@@ -21,11 +21,11 @@ missing=0
 passed=0
 failed=0
 
-cd "$testdir"
+testsrcdir="`pwd`"
 
 for testbase in $test_names
 do
-    testscript="$testdir/$testbase.test"
+    testscript="$testsrcdir/$testbase.test"
     if test \! -f "$testscript" 
     then
        echo "$testscript does not exist" >&2