From d43d1912b376322e27fdcda551a73f9ff5487972 Mon Sep 17 00:00:00 2001 From: Kim van der Riet Date: Fri, 3 Aug 2012 12:13:32 +0000 Subject: QPID-3858: Updated branch - merged from trunk r.1368650 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1368910 13f79535-47bb-0310-9956-ffa450edef68 --- python/qpid/tests/messaging/endpoints.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'python/qpid/tests') diff --git a/python/qpid/tests/messaging/endpoints.py b/python/qpid/tests/messaging/endpoints.py index 62deacd0bd..a82a9e95ed 100644 --- a/python/qpid/tests/messaging/endpoints.py +++ b/python/qpid/tests/messaging/endpoints.py @@ -1333,3 +1333,15 @@ class SenderTests(Base): self.drain(self.rcv, expected=msgs) self.ssn.acknowledge() assert caught, "did not exceed capacity" + + def testEINTR(self): + m1 = self.content("testEINTR", 0) + m2 = self.content("testEINTR", 1) + + self.snd.send(m1, timeout=self.timeout()) + try: + os.setuid(500) + assert False, "setuid should fail" + except: + pass + self.snd.send(m2, timeout=self.timeout()) -- cgit v1.2.1