Debian Codegraph @

test/integration/targets/ansible-test-no-tty/runme.sh

raw
1 #!/usr/bin/env bash
2 # Verify that ansible-test runs integration tests without a TTY.
3
4 source ../collection/setup.sh
5
6 set -x
7
8 if ./run-with-pty.py tests/integration/targets/no-tty/assert-no-tty.py > /dev/null; then
9 echo "PTY assertion did not fail. Either PTY creation failed or PTY detection is broken."
10 exit 1
11 fi
12
13 ./run-with-pty.py ansible-test integration --color "${@}"