Blame SOURCES/coreutils-8.22-failingtests.patch

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