First shot at testing an individual monitor

This commit is contained in:
Kyle Johnson 2014-06-27 08:23:53 -04:00
parent 2e12a5fee7
commit 158432a8cf
1 changed files with 5 additions and 0 deletions

View File

@ -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
}