forked from pool/python-python-prctl
- Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-prctl?expand=0&rev=14
This commit is contained in:
12
skip-speculation.patch
Normal file
12
skip-speculation.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
Index: python-prctl-1.8.1/test_prctl.py
|
||||
===================================================================
|
||||
--- python-prctl-1.8.1.orig/test_prctl.py
|
||||
+++ python-prctl-1.8.1/test_prctl.py
|
||||
@@ -371,6 +371,7 @@ class PrctlTest(unittest.TestCase):
|
||||
self.assertRaises(OSError, set_true)
|
||||
|
||||
@require('set_speculation_ctrl')
|
||||
+ @unittest.skip('borked in sandbox')
|
||||
def test_speculation_ctrl(self):
|
||||
self.assertTrue(prctl.get_speculation_ctrl(prctl.SPEC_STORE_BYPASS) > 0)
|
||||
self.assertTrue(prctl.get_speculation_ctrl(prctl.SPEC_INDIRECT_BRANCH) > 0)
|
Reference in New Issue
Block a user