Jim Meyering wrote: > Did you run it as recommended in README, i.e., > after building as non-root, run this: > > sudo env PATH="$PATH" NON_ROOT_USERNAME=$USER make -k check-root
no. I built it as non-root, ran `make check` as non-root, and then - because I saw that a few tests can only be run as root - just went there as root and fired `make check` again. Here is the output of the above (only 1 FAIL): ======================================================= GNU coreutils 7.4.127-d2510: tests/test-suite.log ======================================================= 1 of 11 tests failed. (9 tests were not run). .. contents:: :depth: 2 SKIP: cp/cp-a-selinux (exit: 77) ================================ ./cp/cp-a-selinux: skipping test: this system (or maybe just the current file system) lacks SELinux support FAIL: cp/preserve-gid (exit: 1) =============================== ./cp/preserve-gid: setuidgid -g 1000,1001 1000 cp -p c1 b: 1000 1001 != 1000 1000 SKIP: cp/cp-mv-enotsup-xattr (exit: 77) ======================================= mkfs: illegal option -- t Usage: mkfs [-F FSType] [-V] [-m] [-o specific_options] special mkfs [operands] ./cp/cp-mv-enotsup-xattr: skipping test: failed to create ext2 file system umount: warning: /vol1/home1/ecs2/depot/coreutils-7.4.127-d2510/tests/cu-cp-mv-enotsup-xa ttr.GvRxmmYsif/mnt not in mnttab umount: /vol1/home1/ecs2/depot/coreutils-7.4.127-d2510/tests/cu-cp-mv-enotsup-xa ttr.GvRxmmYsif/mnt not mounted SKIP: dd/skip-seek-past-dev (exit: 77) ====================================== ./dd/skip-seek-past-dev: line 33: /sbin/blockdev: No such file or directory ./dd/skip-seek-past-dev: skipping test: failed to determine size of - SKIP: ls/capability (exit: 77) ============================== ./ls/capability: skipping test: configured without libcap support SKIP: misc/chcon (exit: 77) =========================== ./misc/chcon: skipping test: this system (or maybe just the current file system) lacks SELinux support SKIP: misc/selinux (exit: 77) ============================= ./misc/selinux: skipping test: this system (or maybe just the current file system) lacks SELinux support SKIP: mkdir/writable-under-readonly (exit: 77) ============================================== ./mkdir/writable-under-readonly: skipping test: temporarily disabled SKIP: rm/one-file-system (exit: 77) =================================== mount: illegal option -- bind Usage: mount [-v | -p] mount [-F FSType] [-V] [current_options] [-o specific_options] {special | mount_point} mount [-F FSType] [-V] [current_options] [-o specific_options] special mount_point mount -a [-F FSType ] [-V] [current_options] [-o specific_options] [mount_point ...] ./rm/one-file-system: skipping test: This test requires mount with a working --bind option. umount: warning: /tmp/tmp3721 not in mnttab umount: /tmp/tmp3721 not mounted SKIP: tail-2/append-only (exit: 77) =================================== ./tail-2/append-only: skipping test: chattr +a doesn't work on this file system