c1f565
diff --git a/test/attr.test b/test/attr.test
c1f565
index d394562..e8f134c 100644
c1f565
--- a/test/attr.test
c1f565
+++ b/test/attr.test
c1f565
@@ -264,7 +264,7 @@ Tests for proper path recursion reported by Tony Ernst <tee@sgi.com> bnc#457660
c1f565
 	$ setfattr -n "user.9" 1/2/3
c1f565
 	$ setfattr -n "user.a" 1/2/3
c1f565
 
c1f565
-	$ getfattr -h -L -R -m '.' -e hex 1 | ./sort-getfattr-output
c1f565
+	$ getfattr -h -L -R -m '.' -e hex 1 | grep -v ^security\\.selinux | ./sort-getfattr-output
c1f565
 	> # file: 1
c1f565
 	> user.9
c1f565
 	> user.a
c1f565
@@ -278,7 +278,7 @@ Tests for proper path recursion reported by Tony Ernst <tee@sgi.com> bnc#457660
c1f565
 	> user.a
c1f565
 	>
c1f565
 
c1f565
-	$ getfattr -h -P -R -m '.' -e hex 1/2 | ./sort-getfattr-output
c1f565
+	$ getfattr -h -P -R -m '.' -e hex 1/2 | grep -v ^security\\.selinux | ./sort-getfattr-output
c1f565
 	> # file: 1/2
c1f565
 	> user.9
c1f565
 	> user.a