[pyxattr] Prevent test failure by ignoring selinux xattrs

Miro Hrončok churchyard at fedoraproject.org
Sat Jun 28 18:52:55 UTC 2014


commit b99f7ab1cb805db8fd95422c9341a3fe93ddb120
Author: Miro Hrončok <miro at hroncok.cz>
Date:   Sat Jun 28 20:52:51 2014 +0200

    Prevent test failure by ignoring selinux xattrs

 pyxattr.spec |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/pyxattr.spec b/pyxattr.spec
index 60f13be..287e677 100644
--- a/pyxattr.spec
+++ b/pyxattr.spec
@@ -59,6 +59,9 @@ popd
 %endif # with_python3
 
 %check
+# selinux in koji produces unexpected xattrs for tests
+export TEST_IGNORE_XATTRS=security.selinux
+
 %{__python2} setup.py test
 
 %if 0%{?with_python3}


More information about the scm-commits mailing list