summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2013-05-27 13:51:07 +0000
committerGordon Sim <gsim@apache.org>2013-05-27 13:51:07 +0000
commit7d7262cbc130c58d0393d0418f3992fe0e5b5c17 (patch)
treef15b1fa4820a6ac352f16197002f434c05d4c0b2 /cpp
parentaef1083732686f687dbe72856b206f927c270d06 (diff)
downloadqpid-python-7d7262cbc130c58d0393d0418f3992fe0e5b5c17.tar.gz
QPID-4890: added workaround to test to handle issues with closing stdin of subprocesses under older python interpreters
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1486625 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rwxr-xr-xcpp/src/tests/interlink_tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/tests/interlink_tests.py b/cpp/src/tests/interlink_tests.py
index 1bc1927bce..5c63ac9f82 100755
--- a/cpp/src/tests/interlink_tests.py
+++ b/cpp/src/tests/interlink_tests.py
@@ -73,6 +73,7 @@ class AmqpBrokerTest(BrokerTest):
print "sender config is %s" % (send_config or self.default_config)
print "receiver config is %s" % (recv_config or self.default_config)
sender = self.sender(send_config or self.default_config)
+ sender._set_cloexec_flag(sender.stdin) #required for older python, see http://bugs.python.org/issue4112
receiver = self.receiver(recv_config or self.default_config)
messages = ["message-%s" % (i+1) for i in range(count)]