Merge pull request #2536 from blueyed/test
tests/run.sh: fix handling of test args
This commit is contained in:
commit
ded7950c6d
|
@ -216,9 +216,10 @@ for f in $tests; do
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Make the filename absolute if it is not.
|
# Make the filename absolute if it is not.
|
||||||
if [ "$f#/" = "$f" ]; then
|
if [ "${f#/}" = "$f" ]; then
|
||||||
f="$source_dir/$f"
|
f="$PWD/$f"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Execute the test file in awesome.
|
# Execute the test file in awesome.
|
||||||
|
|
Loading…
Reference in New Issue