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
1 changed files with 1 additions and 1 deletions

View File

@ -30,5 +30,5 @@ script:
# Idempotence check
- 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
- grep '^Not Run:' /tmp/second && { echo 'Idempotence check failed'; exit 1; } || { echo 'Imdempotence passes'; exit 0; }