From c44c3a047cc7d8229af0e310fd4415e5977d2890 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Wed, 22 Aug 2018 10:10:19 -0400 Subject: [PATCH] s8 --- test/integration/targets/handlers/runme.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/targets/handlers/runme.sh b/test/integration/targets/handlers/runme.sh index 664e91817d6..c2e1424ddf5 100755 --- a/test/integration/targets/handlers/runme.sh +++ b/test/integration/targets/handlers/runme.sh @@ -64,7 +64,7 @@ done | grep -E -o 'RUNNING HANDLER \[test_handlers_include_role : .*]')" = "RUNNING HANDLER [test_handlers_include_role : test handler]" ] # ensures handlers fire equally for both hosts on free strategy -[ "$(ansible-playbook free_strategy.yml -i ../../inventory -v "$@" | grep testhost| grep -v testhost2 |wc -l)" = "9" ] +[ "$(ansible-playbook free_strategy.yml -i ../../inventory -v "$@" | grep testhost| grep -c -v testhost2)" = "9" ] [ "$(ansible-playbook free_strategy.yml -i ../../inventory -v "$@" | grep -c testhost2)" = "9" ] # Notify handler listen