awesome/tests
Uli Schlachter f4ed41b39a tests: Check if test file is readable before running it
I tried calling this script with "tests/foo.lua" as an argument, but it actually
expects "foo.lua" since it changes into the appropriate directory itself.
Because this file does not exist, "cat $f | awesome-client" failed and thus this
whole script just hung (the test runner was never actually started).

Fix this by testing for the test-file to exist before trying to run it.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-07-18 12:35:57 +02:00
..
_runner.lua Add functional tests via Xephyr/Xvfb/xdotool 2015-07-10 15:19:51 +02:00
run.sh tests: Check if test file is readable before running it 2015-07-18 12:35:57 +02:00
test-focus.lua Add functional tests via Xephyr/Xvfb/xdotool 2015-07-10 15:19:51 +02:00
test-urgent.lua Add functional tests via Xephyr/Xvfb/xdotool 2015-07-10 15:19:51 +02:00