2016-10-12 23:57:53 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -eux
|
|
|
|
|
|
|
|
# Verify that extra data before module JSON output during async call is ignored.
|
2019-03-22 00:09:06 +01:00
|
|
|
ANSIBLE_DEBUG=0 LC_ALL=bogus ansible-playbook test_async.yml -i inventory -v "$@"
|
2016-10-12 23:57:53 +02:00
|
|
|
# Verify that the warning exists by examining debug output.
|
2019-03-22 00:09:06 +01:00
|
|
|
ANSIBLE_DEBUG=1 LC_ALL=bogus ansible-playbook test_async.yml -i inventory -v "$@" \
|
2016-10-12 23:57:53 +02:00
|
|
|
| grep 'bash: warning: setlocale: LC_ALL: cannot change locale (bogus)' > /dev/null
|