From 8a4e761814ea024468b9ac49196d85992cc52954 Mon Sep 17 00:00:00 2001 From: jctanner Date: Mon, 11 Dec 2017 10:09:21 -0500 Subject: [PATCH] Enable the pull target to work in vvvv mode (#33755) --- test/integration/targets/pull/runme.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/integration/targets/pull/runme.sh b/test/integration/targets/pull/runme.sh index e03edf7d040..7334df93ca5 100755 --- a/test/integration/targets/pull/runme.sh +++ b/test/integration/targets/pull/runme.sh @@ -30,7 +30,12 @@ if ! grep MAGICKEYWORD "${temp_log}"; then fi # test for https://github.com/ansible/ansible/issues/13681 -if grep '127\.0\.0\.1' "${temp_log}"; then +if egrep '127\.0\.0\.1.*ok' "${temp_log}"; then echo "Found host 127.0.0.1 in output. Only localhost should be present." exit 1 fi +# make sure one host was run +if ! egrep 'localhost.*ok' "${temp_log}"; then + echo "Did not find host localhost in output." + exit 1 +fi