]> git.k1024.org Git - debian-pylibacl.git/commitdiff
Release 0.7.0-2 with segfault fix on s390x master debian/0.7.0-2
authorIustin Pop <iustin@debian.org>
Mon, 24 Apr 2023 16:58:43 +0000 (18:58 +0200)
committerIustin Pop <iustin@debian.org>
Mon, 24 Apr 2023 16:58:43 +0000 (18:58 +0200)
debian/changelog
debian/patches/copy_ext_invalid.patch [new file with mode: 0644]
debian/patches/series

index c40a3a07face4011263d563a331a89a158d2f6d6..14bae06d57a7d177a0d22f4170e4620f834d9617 100644 (file)
@@ -1,3 +1,11 @@
+python-pylibacl (0.7.0-2) unstable; urgency=medium
+
+  * Disable an unsafe upstream test since it causes segfaults on (at
+    least) s390x; similar tests were fixed to workaround the issue, but
+    this one was missed.
+
+ -- Iustin Pop <iustin@debian.org>  Mon, 24 Apr 2023 18:58:03 +0200
+
 python-pylibacl (0.7.0-1) unstable; urgency=medium
 
   [ Debian Janitor ]
 python-pylibacl (0.7.0-1) unstable; urgency=medium
 
   [ Debian Janitor ]
diff --git a/debian/patches/copy_ext_invalid.patch b/debian/patches/copy_ext_invalid.patch
new file mode 100644 (file)
index 0000000..13ee79a
--- /dev/null
@@ -0,0 +1,18 @@
+Disable an upstream test that is unsafe
+--- a/tests/test_acls.py
++++ b/tests/test_acls.py
+@@ -570,10 +570,10 @@
+         assert c != b
+         assert c == a
+-    @require_copy_ext
+-    def test_acl_init_copy_ext_invalid(self):
+-        with pytest.raises(IOError):
+-            posix1e.ACL(data=b"foobar")
++    #@require_copy_ext
++    #def test_acl_init_copy_ext_invalid(self):
++    #    with pytest.raises(IOError):
++    #        posix1e.ACL(data=b"foobar")
+ class TestWrite:
index a446155005ca2a8d9134a30b8a17a6e2be479a42..1c66021280dd7173178a22fb1106bd7474e61253 100644 (file)
@@ -1,2 +1,3 @@
 python-pylibacl_hurd.patch
 sphinx-1.3.patch
 python-pylibacl_hurd.patch
 sphinx-1.3.patch
+copy_ext_invalid.patch