tests/run.sh: Show full error messages

If an error occurs during startup, tail might not show the full error message.

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2015-08-05 17:58:10 +02:00
parent 0ee24317c7
commit cbba615748
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ for f in $tests; do
cat $f | DISPLAY=$D "$AWESOME_CLIENT" 2>&1
# Tail the log and quit, when awesome quits.
tail -f --pid $awesome_pid $awesome_log
tail -n 100000 -f --pid $awesome_pid $awesome_log
if grep -q -E '^Error|assertion failed' $awesome_log; then
echo "===> ERROR running $f! <==="