]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
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 ab7391dd03579ab81a307d51b0b8a36730755d0f..5356d22c509f9aedba68a585be43410c4a9eaf1b 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