summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/fork_safe_stdio/runme.sh
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2024-06-11 02:13:15 +0200
committerGitHub <noreply@github.com>2024-06-11 02:13:15 +0200
commit6ab26707de651b4787c4fb6bfddd5f1e7ee2cd39 (patch)
treeac228837bbbfa0b30271a106a912536eab612906 /test/integration/targets/fork_safe_stdio/runme.sh
parentValidate and process Handler.listen only once (#83400) (diff)
downloadansible-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-xtest/integration/targets/fork_safe_stdio/runme.sh2
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