summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/async_extra_data/runme.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/async_extra_data/runme.sh')
-rwxr-xr-xtest/integration/targets/async_extra_data/runme.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/integration/targets/async_extra_data/runme.sh b/test/integration/targets/async_extra_data/runme.sh
new file mode 100755
index 00000000..46132731
--- /dev/null
+++ b/test/integration/targets/async_extra_data/runme.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+set -eux
+
+# Verify that extra data before module JSON output during async call is ignored, and that the warning exists.
+ANSIBLE_DEBUG=0 ansible-playbook -i ../../inventory test_async.yml -v "$@" \
+ | grep 'junk after the JSON data: junk_after_module_output'