Blame SOURCES/sed-selinux-testsuite.patch

319534
--- a/sed-4.5/testsuite/inplace-selinux.sh	2018-03-31 06:33:01.000000000 +0200
319534
+++ b/sed-4.5/testsuite/inplace-selinux.sh	2021-10-05 17:10:32.259956822 +0200
319534
@@ -24,6 +24,9 @@
319534
 chcon -u system_u a || skip_ "chcon doesn't work"
319534
 chcon -u user_u a || skip_ "chcon doesn't work"
319534
 
319534
+cp --preserve=context ./a ./b 2>&1 | grep "cannot preserve security context" >/dev/null && skip_ "cannot preserve security context without an SELinux-enabled kernel"
319534
+
319534
+
319534
 # Create the first file and symlink pointing at it.
319534
 echo "Hello World" > inplace-selinux-file || framework_failure_
319534
 ln -s ./inplace-selinux-file inplace-selinux-link || framework_failure_