Skip to content

Commit

Permalink
Fix test script.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aloysius Lim committed May 21, 2015
1 parent 33e7ae2 commit 020de4c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ansible-playbook --connection=local --syntax-check -vv $DIR/test.yml
# Check role
ansible-playbook --connection=local --become -vv $DIR/test.yml
# Check indempotence
ansible-playbook --connection=local --become -vv $DIR/test.yml
| grep -q 'changed=0.*failed=0'
&& (echo 'Idempotence test: pass' && exit 0)
ansible-playbook --connection=local --become -vv $DIR/test.yml \
| grep -q 'changed=0.*failed=0' \
&& (echo 'Idempotence test: pass' && exit 0) \
|| (echo 'Idempotence test: fail' && exit 1)

0 comments on commit 020de4c

Please sign in to comment.