You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/json-serialization/runme.sh

12 lines
301 B
Bash

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