Debian Codegraph @

test/integration/targets/json-serialization/runme.sh

raw
1 #!/usr/bin/env bash
2
3 set -eux
4
5 export ANSIBLE_FORCE_COLOR=0
6
7 ANSIBLE_MODULE_STRICT_UTF8_RESPONSE=0 ansible-playbook test.yml "${@}" | grep 'hi ? mom'
8
9 ANSIBLE_MODULE_STRICT_UTF8_RESPONSE=1 ansible-playbook test.yml "${@}" 2>&1 | grep "^Refusing to deserialize an invalid UTF8 string value"
10
11 echo PASS