Skip to content

Commit

Permalink
#97 added output param to imaptest, changed to bash to execute log greps
Browse files Browse the repository at this point in the history
  • Loading branch information
jrse committed Mar 3, 2018
1 parent bb55925 commit 0194598
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,13 @@ script:
- docker exec build sh -c 'ldconfig'
- 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:\""'
- 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 output=/var/log/imaptest.log'
- docker exec build bash -c '/usr/local/bin/exec.sh "cat /var/log/dovecot.log | grep \"Error:\""'
- docker exec build bash -c '/usr/local/bin/exec.sh "cat /var/log/dovecot.log | grep \"failed:\""'
- docker exec build bash -c '/usr/local/bin/exec.sh "cat /var/log/dovecot.log | grep \"Internal error\""'
- docker exec build bash -c '/usr/local/bin/exec.sh "cat /var/log/dovecot.log | grep \"Panic:\""'
- docker exec build bash -c '/usr/local/bin/exec.sh "cat /var/log/dovecot.log | grep \"Fatal:\""'
- docker exec build bash -c '/usr/local/bin/exec.sh "cat /var/log/imaptest.log | grep \"BUG:\""'
after_script:
- docker stop build ceph_demo
- docker rm build ceph_demo
Expand Down

0 comments on commit 0194598

Please sign in to comment.