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
disable_no_new_privs.patch
Normal file
12
disable_no_new_privs.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
|
||||
@@ -259,6 +259,7 @@ class PrctlTest(unittest.TestCase):
|
||||
self.assertEqual(prctl.get_name(), name[:15])
|
||||
|
||||
@require('get_no_new_privs')
|
||||
+ @unittest.skip('test fails, because ping doesn\'t use capabilities anymore (boo#1174504)')
|
||||
def test_no_new_privs(self):
|
||||
"""Test the no_new_privs function"""
|
||||
self.assertEqual(prctl.get_no_new_privs(), 0)
|
Reference in New Issue
Block a user