Commit bc888e05 authored by Martin Pool's avatar Martin Pool

Find the right directory to run the test components.

parent 26c7f120
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment