~ruther/guix-local

ref: 1a1558e88f1f119be9dca28dac0bf554bc6aa171 guix-local/gnu/packages/patches/python2-subprocess32-disable-input-test.patch -rw-r--r-- 627 bytes
1a1558e8 — Marius Bakke gnu: postgresql: Update to 9.6.4 [fixes CVE-2017-{7546,7547,7548}]. 8 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
This test tries to send a KeyboardInterrupt, which does
not work in the build environment.

--- a/test_subprocess32.py	2017-03-06 22:21:49.334045485 +0100
+++ b/test_subprocess32.py	2017-03-06 22:22:02.490439949 +0100
@@ -1299,12 +1299,6 @@
         getattr(p, method)(*args)
         return p
 
-    def test_send_signal(self):
-        p = self._kill_process('send_signal', signal.SIGINT)
-        _, stderr = p.communicate()
-        self.assertIn('KeyboardInterrupt', stderr)
-        self.assertNotEqual(p.wait(), 0)
-
     def test_kill(self):
         p = self._kill_process('kill')
         _, stderr = p.communicate()