From 651b9950836b146380a7e9e7292b88e289a2dc2a Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Sat, 28 Apr 2012 15:59:17 +0200 Subject: [PATCH] coreutils: Remove non working tests from testsuite. There are problems with selinux enabled kernels and build in an chroot environment like we do. So we we have to disable/remove these tests: Disabled tests: * cp/cp-a-selinux * id/no-context * install/install-C-selinux * misc/id-context Fixes #10077. --- coreutils/coreutils.nm | 9 +++--- .../coreutils-ipfire-disabled-tests.patch | 32 +++++++++++++++++++ 2 files changed, 36 insertions(+), 5 deletions(-) create mode 100644 coreutils/patches/coreutils-ipfire-disabled-tests.patch diff --git a/coreutils/coreutils.nm b/coreutils/coreutils.nm index 3b04de3bd..df4ca91ff 100644 --- a/coreutils/coreutils.nm +++ b/coreutils/coreutils.nm @@ -5,7 +5,7 @@ name = coreutils version = 8.16 -release = 3 +release = 4 groups = System/Base url = http://www.gnu.org/software/coreutils/ @@ -55,10 +55,9 @@ build autoconf --force end - # FIXME broken - #test - # make check - #end + test + make check + end make_install_targets += install-man diff --git a/coreutils/patches/coreutils-ipfire-disabled-tests.patch b/coreutils/patches/coreutils-ipfire-disabled-tests.patch new file mode 100644 index 000000000..92b51c203 --- /dev/null +++ b/coreutils/patches/coreutils-ipfire-disabled-tests.patch @@ -0,0 +1,32 @@ +diff -Nur a/tests/Makefile.am b/tests/Makefile.am +--- a/tests/Makefile.am 2012-03-24 19:22:13.000000000 +0100 ++++ b/tests/Makefile.am 2012-04-28 15:42:22.861910633 +0200 +@@ -24,7 +24,6 @@ + + root_tests = \ + chown/basic \ +- cp/cp-a-selinux \ + cp/preserve-gid \ + cp/special-bits \ + cp/cp-mv-enotsup-xattr \ +@@ -195,7 +194,6 @@ + misc/groups-version \ + misc/head-c \ + misc/head-pos \ +- misc/id-context \ + misc/id-groups \ + misc/md5sum \ + misc/md5sum-bsd \ +@@ -408,12 +406,10 @@ + du/trailing-slash \ + du/two-args \ + id/gnu-zero-uids \ +- id/no-context \ + install/basic-1 \ + install/create-leading \ + install/d-slashdot \ + install/install-C \ +- install/install-C-selinux \ + install/strip-program \ + install/trap \ + ln/backup-1 \ -- 2.39.2