diff options
author | Matt Clay <matt@mystile.com> | 2024-06-11 02:13:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-11 02:13:15 +0200 |
commit | 6ab26707de651b4787c4fb6bfddd5f1e7ee2cd39 (patch) | |
tree | ac228837bbbfa0b30271a106a912536eab612906 /test/integration/targets/fork_safe_stdio/runme.sh | |
parent | Validate and process Handler.listen only once (#83400) (diff) | |
download | ansible-6ab26707de651b4787c4fb6bfddd5f1e7ee2cd39.tar.xz ansible-6ab26707de651b4787c4fb6bfddd5f1e7ee2cd39.zip |
Fix quoting in fork_safe_stdio test (#83412)
Diffstat (limited to 'test/integration/targets/fork_safe_stdio/runme.sh')
-rwxr-xr-x | test/integration/targets/fork_safe_stdio/runme.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/targets/fork_safe_stdio/runme.sh b/test/integration/targets/fork_safe_stdio/runme.sh index 863582f3f2..019967d753 100755 --- a/test/integration/targets/fork_safe_stdio/runme.sh +++ b/test/integration/targets/fork_safe_stdio/runme.sh @@ -9,7 +9,7 @@ echo "testing for stdio deadlock on forked workers (10s timeout)..." # Redirect stdout to /dev/null since it's full of non-printable garbage we don't want to display unless it failed ANSIBLE_CALLBACKS_ENABLED=spewstdio SPEWSTDIO_ENABLED=1 python run-with-pty.py ../test_utils/scripts/timeout.py -- 10 ansible-playbook -i hosts -f 5 test.yml > stdout.txt && RC=$? || RC=$? -if [ $RC != 0 ]; then +if [ "${RC}" != 0 ]; then echo "failed; likely stdout deadlock. dumping raw output (may be very large)" cat stdout.txt exit 1 |