diff options
author | Jeff Geerling <geerlingguy@mac.com> | 2017-04-01 16:02:12 -0500 |
---|---|---|
committer | Jeff Geerling <geerlingguy@mac.com> | 2017-04-01 16:02:12 -0500 |
commit | bbe9066d500b3c7c37bb5280e4280d46f055b525 (patch) | |
tree | 780c378f2e0c9868057d5de2391f4778bc6c4c84 /tests | |
parent | 27b71feaa79024126033f4410205804b3c657399 (diff) | |
download | ntp-bbe9066d500b3c7c37bb5280e4280d46f055b525.tar.gz ntp-bbe9066d500b3c7c37bb5280e4280d46f055b525.tar.bz2 ntp-bbe9066d500b3c7c37bb5280e4280d46f055b525.tar.xz ntp-bbe9066d500b3c7c37bb5280e4280d46f055b525.zip |
Final adjustments.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test.sh b/tests/test.sh index e625951..107d843 100755 --- a/tests/test.sh +++ b/tests/test.sh @@ -79,7 +79,7 @@ docker exec --tty $container_id env TERM=xterm ansible-playbook /etc/ansible/rol # Run Ansible playbook again (idempotence test). printf ${green}"Running playbook again: idempotence test"${neutral} idempotence=$(mktemp) -docker exec --tty $container_id ansible-playbook /etc/ansible/roles/role_under_test/tests/$playbook | tee -a $idempotence +docker exec $container_id ansible-playbook /etc/ansible/roles/role_under_test/tests/$playbook | tee -a $idempotence tail $idempotence \ | grep -q 'changed=0.*failed=0' \ && (printf ${green}'Idempotence test: pass'${neutral}"\n") \ |