Skip to content

Commit

Permalink
#97 grep dovecot.log for errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jrse committed Mar 3, 2018
1 parent 5e17de5 commit bb55925
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ script:
- docker exec build sh -c 'chmod 777 /etc/ceph/*'
- docker exec --detach build sh -c 'service dovecot.service start'
- docker exec build sh -c 'cd /usr/local/src/imaptest/src; ./imaptest user=t%d pass=t port=10143 users=10 clients=10 error_quit secs=300'

- docker exec build sh -c '/usr/local/bin/exec.sh "cat /var/log/dovecot.log | grep \"Error:\""'
- docker exec build sh -c '/usr/local/bin/exec.sh "cat /var/log/dovecot.log | grep \"failed:\""'
- docker exec build sh -c '/usr/local/bin/exec.sh "cat /var/log/dovecot.log | grep \"Internal error\""'
- docker exec build sh -c '/usr/local/bin/exec.sh "cat /var/log/dovecot.log | grep \"Panic:\""'
- docker exec build sh -c '/usr/local/bin/exec.sh "cat /var/log/dovecot.log | grep \"Fatal:\""'
after_script:
- docker stop build ceph_demo
- docker rm build ceph_demo
Expand Down

0 comments on commit bb55925

Please sign in to comment.