forked from pool/python-python-prctl
13 lines
519 B
Diff
13 lines
519 B
Diff
|
Index: python-prctl-1.7/test_prctl.py
|
||
|
===================================================================
|
||
|
--- python-prctl-1.7.orig/test_prctl.py
|
||
|
+++ python-prctl-1.7/test_prctl.py
|
||
|
@@ -155,6 +155,7 @@ class PrctlTest(unittest.TestCase):
|
||
|
self.assertEqual(prctl.get_keepcaps(), False)
|
||
|
|
||
|
@require('set_mce_kill')
|
||
|
+ @unittest.skipIf(sys.maxsize <= 2**32, 'fails on 32 bit')
|
||
|
def test_mce_kill(self):
|
||
|
"""Test the MCE_KILL setting"""
|
||
|
fd = open('/proc/sys/vm/memory_failure_early_kill')
|