2022-02-07 06:37:49 +00:00
|
|
|
Index: python-prctl-1.8.1/test_prctl.py
|
2020-08-19 08:52:38 +00:00
|
|
|
===================================================================
|
2022-02-07 06:37:49 +00:00
|
|
|
--- python-prctl-1.8.1.orig/test_prctl.py
|
|
|
|
+++ python-prctl-1.8.1/test_prctl.py
|
|
|
|
@@ -182,6 +182,7 @@ class PrctlTest(unittest.TestCase):
|
2020-08-19 08:52:38 +00:00
|
|
|
self.assertEqual(prctl.get_keepcaps(), False)
|
|
|
|
|
|
|
|
@require('set_mce_kill')
|
2020-09-07 12:27:41 +00:00
|
|
|
+ @unittest.skipIf(sys.maxsize <= 2**32 or arch == 's390x', 'no such file on this architecture')
|
2020-08-19 08:52:38 +00:00
|
|
|
def test_mce_kill(self):
|
|
|
|
"""Test the MCE_KILL setting"""
|
2022-02-07 06:37:49 +00:00
|
|
|
if not os.path.exists('/proc/sys/vm/memory_failure_early_kill'):
|