From 3b6d086f5e90b0da1d655e33eb82982d72cbdf76 Mon Sep 17 00:00:00 2001 From: Martin Krizek Date: Tue, 21 Jan 2025 16:38:03 +0100 Subject: [PATCH] targets/handlers: fix incorrect test cmd (#84567) --- test/integration/targets/handlers/runme.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/integration/targets/handlers/runme.sh b/test/integration/targets/handlers/runme.sh index 9e7ebb482d3..2250df28860 100755 --- a/test/integration/targets/handlers/runme.sh +++ b/test/integration/targets/handlers/runme.sh @@ -135,9 +135,7 @@ ansible-playbook test_handlers_meta.yml -i inventory.handlers -vv "$@" | tee out [ "$(grep out.txt -ce 'META: noop')" = "1" ] # https://github.com/ansible/ansible/issues/46447 -set +e -test "$(ansible-playbook 46447.yml -i inventory.handlers -vv "$@" 2>&1 | grep -c 'SHOULD NOT GET HERE')" -set -e +test "$(ansible-playbook 46447.yml -i inventory.handlers "$@" 2>&1 | grep -c 'SHOULD NOT GET HERE')" = "0" # https://github.com/ansible/ansible/issues/52561 ansible-playbook 52561.yml -i inventory.handlers "$@" 2>&1 | tee out.txt