0
0
mirror of https://github.com/saltstack-formulas/rsyncd-formula.git synced 2024-11-27 23:07:56 +01:00

Show /tmp/second before doing a check which exits

This commit is contained in:
jpic 2015-05-15 01:40:48 +02:00
parent e62b524a2d
commit b20604d99b

View File

@ -30,5 +30,5 @@ script:
# Idempotence check # Idempotence check
- sudo salt-call state.sls $STATE --local --retcode-passthrough --config-dir=test/etc > /tmp/second - sudo salt-call state.sls $STATE --local --retcode-passthrough --config-dir=test/etc > /tmp/second
- grep '^Not Run:' /tmp/second && { echo 'Idempotence check failed'; exit 1; } || { echo 'Imdempotence passes'; exit 0; }
- cat /tmp/second - cat /tmp/second
- grep '^Not Run:' /tmp/second && { echo 'Idempotence check failed'; exit 1; } || { echo 'Imdempotence passes'; exit 0; }