Debian Codegraph @

test/integration/targets/include_when_parent_is_static/runme.sh

raw
1 #!/usr/bin/env bash
2
3 set -eux
4
5 ansible-playbook playbook.yml "$@" > output.log 2>&1 || true
6
7 if grep "intentional syntax error" output.log >/dev/null; then
8 echo "Test passed (playbook failed with expected output, output not shown)."
9 exit 0
10 fi
11
12 cat output.log
13 exit 1