mirror of
https://github.com/saltstack-formulas/rsyncd-formula.git
synced 2025-07-20 15:48:22 +02:00
Idempotence check simplification.
The previous version would report false-positives, ie.: https://travis-ci.org/martinhoefling/rsyncd-formula/jobs/62631447
This commit is contained in:
parent
b20604d99b
commit
dc09a0a65f
@ -31,4 +31,4 @@ script:
|
||||
# Idempotence check
|
||||
- sudo salt-call state.sls $STATE --local --retcode-passthrough --config-dir=test/etc > /tmp/second
|
||||
- cat /tmp/second
|
||||
- grep '^Not Run:' /tmp/second && { echo 'Idempotence check failed'; exit 1; } || { echo 'Imdempotence passes'; exit 0; }
|
||||
- ! grep -q '^Not Run:' /tmp/second
|
||||
|
Loading…
x
Reference in New Issue
Block a user