From ba9b9338d10341f283c7e1afc532b32fcec8925d Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Tue, 30 Apr 2013 07:32:53 -0700 Subject: test: fix on selinux systems additional 'security.selinux' attrs appear on selinux systems, filter them out to get the tests to pass. --- test/attr.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/attr.test b/test/attr.test index cdec1b3..c9a8ee0 100644 --- a/test/attr.test +++ b/test/attr.test @@ -276,7 +276,7 @@ Tests for proper path recursion reported by Tony Ernst bnc#457660 $ setfattr -n "user.9" 1/2/3 $ setfattr -n "user.a" 1/2/3 - $ getfattr -h -L -R -m '.' -e hex 1 | ./sort-getfattr-output + $ getfattr -h -L -R -m '.' -e hex 1 | grep -v selinux | ./sort-getfattr-output > # file: 1 > user.9 > user.a @@ -290,7 +290,7 @@ Tests for proper path recursion reported by Tony Ernst bnc#457660 > user.a > - $ getfattr -h -P -R -m '.' -e hex 1/2 | ./sort-getfattr-output + $ getfattr -h -P -R -m '.' -e hex 1/2 | grep -v selinux | ./sort-getfattr-output > # file: 1/2 > user.9 > user.a -- cgit v1.2.1