Skip to content

Commit 73610fd

Browse files
committed
added box name on the output of the tests.
1 parent fa9f7c0 commit 73610fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_idempotence.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ NC='\033[0m'
3434
echo "[INFO] $VIRTUALENV_NAME running idempotence test..."
3535
ansible-playbook -i ${INVENTORY} --limit ${box} ${PLAYBOOK} | \
3636
grep "${box}" | grep -q "${PASS_CRITERIA}" && \
37-
echo -ne "[TEST] $VIRTUALENV_NAME idempotence : ${GREEN}PASS${NC}\n" || \
38-
(echo -ne "[TEST] $VIRTUALENV_NAME idempotence : ${RED}FAILED${NC} ${PASS_CRITERIA}\n" && exit 1)
37+
echo -ne "[TEST] ${box} $VIRTUALENV_NAME idempotence : ${GREEN}PASS${NC}\n" || \
38+
(echo -ne "[TEST] ${box} $VIRTUALENV_NAME idempotence : ${RED}FAILED${NC} ${PASS_CRITERIA}\n" && exit 1)

0 commit comments

Comments
 (0)