diff options
author | Jim Meyering <meyering@redhat.com> | 2008-04-30 22:50:02 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-04-30 23:29:10 +0200 |
commit | e3171c43ebad36ca0746bc625607f87269ff4e73 (patch) | |
tree | 1fcb31d420e68aed3151a46ebf53a742c122a158 /README | |
parent | bbc49eb5368f9f19b66562210a4eb60ff5cfe153 (diff) | |
download | coreutils-e3171c43ebad36ca0746bc625607f87269ff4e73.tar.xz |
tests: avoid spurious "make check-root" failure
* README (Running tests as root): Also set PATH in suggested "sudo"
command. This avoids failure of at least tests/cp/cp-a-selinux
when the default PATH does not contain /sbin.
* tests/cp/cp-a-selinux: Don't redirect stderr to /dev/null.
"mkfs" was failing due to /sbin not being in PATH.
Diffstat (limited to 'README')
-rw-r--r-- | README | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -145,7 +145,7 @@ I find that it is best to unpack and build as a non-privileged user, and then to run the following command as that user in order to run the privilege-requiring tests: - sudo env NON_ROOT_USERNAME=$USER make -k check-root + sudo env PATH="$PATH" NON_ROOT_USERNAME=$USER make -k check-root If you can run the tests as root, please do so and report any problems. We get much less test coverage in that mode, and it's |