coreutils: Enable more tests

These were tested on x86_64-linux with both the daemon and root mode and
on aarch64-linux in daemon mode.
This commit is contained in:
Janne Heß 2021-10-29 13:20:35 +02:00
parent ea9de89376
commit 15c01ca722
No known key found for this signature in database
GPG key ID: 69165158F05265DF

View file

@ -43,9 +43,6 @@ stdenv.mkDerivation (rec {
sed '2i echo Skipping rm deep-2 test && exit 77' -i ./tests/rm/deep-2.sh
sed '2i echo Skipping du long-from-unreadable test && exit 77' -i ./tests/du/long-from-unreadable.sh
# Depends on the mountpoints
sed '2i echo Skipping df df-symlink test && exit 77' -i ./tests/df/df-symlink.sh
# Some target platforms, especially when building inside a container have
# issues with the inotify test.
sed '2i echo Skipping tail inotify dir recreate test && exit 77' -i ./tests/tail-2/inotify-dir-recreate.sh
@ -55,8 +52,6 @@ stdenv.mkDerivation (rec {
substituteInPlace ./tests/install/install-C.sh \
--replace 'mode3=2755' 'mode3=1755'
sed '2i print "Skipping env -S test"; exit 77;' -i ./tests/misc/env-S.pl
# Fails on systems with a rootfs. Looks like a bug in the test, see
# https://lists.gnu.org/archive/html/bug-coreutils/2019-12/msg00000.html
sed '2i print "Skipping df skip-rootfs test"; exit 77' -i ./tests/df/skip-rootfs.sh
@ -69,12 +64,6 @@ stdenv.mkDerivation (rec {
echo "int main() { return 77; }" > "$f"
done
# tests try to access user 1000 which is forbidden in sandbox
sed '2i print "Skipping id uid test"; exit 77' -i ./tests/id/uid.sh
sed '2i print "Skipping id zero test"; exit 77' -i ./tests/id/zero.sh
sed '2i print "Skipping misc help-versiob test"; exit 77' -i ./tests/misc/help-version.sh
sed '2i print "Skipping chown separator test"; exit 77' -i ./tests/chown/separator.sh
# intermittent failures on builders, unknown reason
sed '2i echo Skipping du basic test && exit 77' -i ./tests/du/basic.sh
'' + (optionalString (stdenv.hostPlatform.libc == "musl") (lib.concatStringsSep "\n" [