From dc09a0a65f9153e79b95b9394950539c2c673b0d Mon Sep 17 00:00:00 2001 From: jpic Date: Fri, 15 May 2015 01:47:06 +0200 Subject: [PATCH] Idempotence check simplification. The previous version would report false-positives, ie.: https://travis-ci.org/martinhoefling/rsyncd-formula/jobs/62631447 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 13cedd7..a535665 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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