From 158432a8cf8a13fd37585da6a03777cb0db1eb42 Mon Sep 17 00:00:00 2001 From: Kyle Johnson Date: Fri, 27 Jun 2014 08:23:53 -0400 Subject: [PATCH] First shot at testing an individual monitor --- utils/travis/run-tests.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/utils/travis/run-tests.sh b/utils/travis/run-tests.sh index 0b4ca9e71..c3bb392d9 100644 --- a/utils/travis/run-tests.sh +++ b/utils/travis/run-tests.sh @@ -11,6 +11,11 @@ with_timestamps() { run_tests() { mysql -uzmuser -pzmpass zm < ../../db/test.monitor.sql + sudo zmu -l + sudo zmc -m1 & + sudo zma -m1 & + sudo zmu -l + sudo grep ERR /var/log/syslog sudo zmpkg.pl start sudo zmfilter.pl -f purgewhenfull }