Blame SOURCES/coreutils-8.22-failingtests.patch

e7e4d7
diff -urNp coreutils-8.22-orig/tests/cp/cp-a-selinux.sh coreutils-8.22/tests/cp/cp-a-selinux.sh
e7e4d7
--- coreutils-8.22-orig/tests/cp/cp-a-selinux.sh	2016-06-24 11:44:21.909303666 +0200
e7e4d7
+++ coreutils-8.22/tests/cp/cp-a-selinux.sh	2016-06-24 11:47:28.473908346 +0200
e7e4d7
@@ -73,7 +73,8 @@ old_type_d=$(get_selinux_type c_d)
e7e4d7
 # and get the adjusted type for comparison
e7e4d7
 cp -a c Z1 || fail=1
e7e4d7
 cp -a c_d Z1_d || fail=1
e7e4d7
-if restorecon Z1 Z1_d 2>/dev/null; then
e7e4d7
+if restorecon Z1 Z1_d 2>restorecon.err \
e7e4d7
+   && compare /dev/null restorecon.err; then
e7e4d7
   new_type_f=$(get_selinux_type Z1)
e7e4d7
   new_type_d=$(get_selinux_type Z1_d)
e7e4d7
 
e7e4d7
diff -urNp coreutils-8.22-orig/tests/local.mk coreutils-8.22/tests/local.mk
e7e4d7
--- coreutils-8.22-orig/tests/local.mk	2016-06-24 11:44:21.920303760 +0200
e7e4d7
+++ coreutils-8.22/tests/local.mk	2016-06-24 11:49:31.388965563 +0200
e7e4d7
@@ -117,7 +117,6 @@ all_root_tests =				\
e7e4d7
   tests/df/problematic-chars.sh			\
e7e4d7
   tests/du/bind-mount-dir-cycle.sh		\
e7e4d7
   tests/du/bind-mount-dir-cycle-v2.sh		\
e7e4d7
-  tests/id/setgid.sh				\
e7e4d7
   tests/install/install-C-root.sh		\
e7e4d7
   tests/ls/capability.sh			\
e7e4d7
   tests/ls/nameless-uid.sh			\
e7e4d7
@@ -515,7 +514,6 @@ all_tests =					\
e7e4d7
   tests/id/no-context.sh			\
e7e4d7
   tests/id/context.sh				\
e7e4d7
   tests/id/uid.sh				\
e7e4d7
-  tests/id/setgid.sh				\
e7e4d7
   tests/id/zero.sh				\
e7e4d7
   tests/install/basic-1.sh			\
e7e4d7
   tests/install/create-leading.sh		\