]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/commitdiff
coreutils: Remove non working tests from testsuite.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 28 Apr 2012 13:59:17 +0000 (15:59 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 28 Apr 2012 13:59:17 +0000 (15:59 +0200)
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
coreutils/patches/coreutils-ipfire-disabled-tests.patch [new file with mode: 0644]

index 3b04de3bd79691dd092e9bb83f4ad14fc854e2a8..df4ca91ff5fb66c141547a3ec9abdd1b9e0c104f 100644 (file)
@@ -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 (file)
index 0000000..92b51c2
--- /dev/null
@@ -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                                 \