tests/run.sh: fix handling of test args
Fixes `tests/run.sh tests/test-signal.lua`.
This commit is contained in:
parent
a2cd918603
commit
5dbb5b4992
|
@ -216,9 +216,10 @@ for f in $tests; do
|
|||
continue
|
||||
fi
|
||||
fi
|
||||
|
||||
# Make the filename absolute if it is not.
|
||||
if [ "$f#/" = "$f" ]; then
|
||||
f="$source_dir/$f"
|
||||
if [ "${f#/}" = "$f" ]; then
|
||||
f="$PWD/$f"
|
||||
fi
|
||||
|
||||
# Execute the test file in awesome.
|
||||
|
|
Loading…
Reference in New Issue