mirror of
https://github.com/powerline/powerline.git
synced 2025-07-28 08:14:41 +02:00
Check whether daemon log is as empty as it should
This commit is contained in:
parent
28aee92c51
commit
44cca97566
@ -165,6 +165,13 @@ for TEST_TYPE in "daemon" "nodaemon" ; do
|
|||||||
if test $TEST_TYPE == daemon ; then
|
if test $TEST_TYPE == daemon ; then
|
||||||
./scripts/powerline-daemon -k
|
./scripts/powerline-daemon -k
|
||||||
wait $(cat tests/shell/daemon_pid)
|
wait $(cat tests/shell/daemon_pid)
|
||||||
|
if ! test -z "$(cat tests/shell/daemon_log)" ; then
|
||||||
|
echo '____________________________________________________________'
|
||||||
|
echo "Daemon log:"
|
||||||
|
echo '============================================================'
|
||||||
|
cat tests/shell/daemon_log
|
||||||
|
FAILED=1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user