dev-python/pyxattr: Ignore selinux xattrs by default
authorMichał Górny <mgorny@gentoo.org>
Tue, 24 Apr 2018 15:59:56 +0000 (17:59 +0200)
committerMichał Górny <mgorny@gentoo.org>
Tue, 24 Apr 2018 16:08:58 +0000 (18:08 +0200)
Bug: https://bugs.gentoo.org/503946

dev-python/pyxattr/pyxattr-0.6.0-r1.ebuild

index 8b0b7315ecabec19f72863f856fcc8fa054dbbf2..0f47e843d3e35effd97ac9bc8c5b6912ed1d8552 100644 (file)
@@ -43,6 +43,8 @@ src_test() {
        # Perform the tests in /var/tmp; that location is more likely
        # to have xattr support than /tmp which is often tmpfs.
        local -x TEST_DIR=/var/tmp
+       # Ignore selinux attributes by default, bug #503946.
+       local -x TEST_IGNORE_XATTRS="security.selinux"
 
        einfo 'Please note that the tests fail if xattrs are not supported'
        einfo 'by the filesystem used for /var/tmp.'