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.

-11
-11
pkgs/tools/misc/coreutils/default.nix
··· 43 sed '2i echo Skipping rm deep-2 test && exit 77' -i ./tests/rm/deep-2.sh 44 sed '2i echo Skipping du long-from-unreadable test && exit 77' -i ./tests/du/long-from-unreadable.sh 45 46 - # Depends on the mountpoints 47 - sed '2i echo Skipping df df-symlink test && exit 77' -i ./tests/df/df-symlink.sh 48 - 49 # Some target platforms, especially when building inside a container have 50 # issues with the inotify test. 51 sed '2i echo Skipping tail inotify dir recreate test && exit 77' -i ./tests/tail-2/inotify-dir-recreate.sh ··· 55 substituteInPlace ./tests/install/install-C.sh \ 56 --replace 'mode3=2755' 'mode3=1755' 57 58 - sed '2i print "Skipping env -S test"; exit 77;' -i ./tests/misc/env-S.pl 59 - 60 # Fails on systems with a rootfs. Looks like a bug in the test, see 61 # https://lists.gnu.org/archive/html/bug-coreutils/2019-12/msg00000.html 62 sed '2i print "Skipping df skip-rootfs test"; exit 77' -i ./tests/df/skip-rootfs.sh ··· 68 for f in gnulib-tests/{test-chown.c,test-fchownat.c,test-lchown.c}; do 69 echo "int main() { return 77; }" > "$f" 70 done 71 - 72 - # tests try to access user 1000 which is forbidden in sandbox 73 - sed '2i print "Skipping id uid test"; exit 77' -i ./tests/id/uid.sh 74 - sed '2i print "Skipping id zero test"; exit 77' -i ./tests/id/zero.sh 75 - sed '2i print "Skipping misc help-versiob test"; exit 77' -i ./tests/misc/help-version.sh 76 - sed '2i print "Skipping chown separator test"; exit 77' -i ./tests/chown/separator.sh 77 78 # intermittent failures on builders, unknown reason 79 sed '2i echo Skipping du basic test && exit 77' -i ./tests/du/basic.sh
··· 43 sed '2i echo Skipping rm deep-2 test && exit 77' -i ./tests/rm/deep-2.sh 44 sed '2i echo Skipping du long-from-unreadable test && exit 77' -i ./tests/du/long-from-unreadable.sh 45 46 # Some target platforms, especially when building inside a container have 47 # issues with the inotify test. 48 sed '2i echo Skipping tail inotify dir recreate test && exit 77' -i ./tests/tail-2/inotify-dir-recreate.sh ··· 52 substituteInPlace ./tests/install/install-C.sh \ 53 --replace 'mode3=2755' 'mode3=1755' 54 55 # Fails on systems with a rootfs. Looks like a bug in the test, see 56 # https://lists.gnu.org/archive/html/bug-coreutils/2019-12/msg00000.html 57 sed '2i print "Skipping df skip-rootfs test"; exit 77' -i ./tests/df/skip-rootfs.sh ··· 63 for f in gnulib-tests/{test-chown.c,test-fchownat.c,test-lchown.c}; do 64 echo "int main() { return 77; }" > "$f" 65 done 66 67 # intermittent failures on builders, unknown reason 68 sed '2i echo Skipping du basic test && exit 77' -i ./tests/du/basic.sh