forked from pool/python-python-prctl
Accepting request 844342 from home:frispete:python
Sorry Matej, for the confusion. test.py was an internal test artifact... Here's the correct SR. - Disable test of no_new_privs with disable_no_new_privs.patch test fails, because ping doesn't use capabilities anymore (boo#1174504) OBS-URL: https://build.opensuse.org/request/show/844342 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-prctl?expand=0&rev=7
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: b/test_prctl.py
|
||||||
|
===================================================================
|
||||||
|
--- a/test_prctl.py
|
||||||
|
+++ b/test_prctl.py
|
||||||
|
@@ -220,6 +220,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)
|
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 27 09:54:52 UTC 2020 - Hans-Peter Jansen <hpj@urpla.net>
|
||||||
|
|
||||||
|
- Disable test of no_new_privs with disable_no_new_privs.patch
|
||||||
|
test fails, because ping doesn't use capabilities anymore (boo#1174504)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 4 13:48:25 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
Fri Sep 4 13:48:25 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
@@ -29,6 +29,7 @@ Patch0: disable-sandboxed-test.patch
|
|||||||
Patch1: memory_failure_early_kill.patch
|
Patch1: memory_failure_early_kill.patch
|
||||||
Patch2: bigendian.patch
|
Patch2: bigendian.patch
|
||||||
Patch3: powerpc.patch
|
Patch3: powerpc.patch
|
||||||
|
Patch4: disable_no_new_privs.patch
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
Reference in New Issue
Block a user