summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README2
-rwxr-xr-xtests/cp/cp-a-selinux2
2 files changed, 2 insertions, 2 deletions
diff --git a/README b/README
index 7a608f41c..7c1883d48 100644
--- a/README
+++ b/README
@@ -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
diff --git a/tests/cp/cp-a-selinux b/tests/cp/cp-a-selinux
index 8f854bd0c..dfbded1d2 100755
--- a/tests/cp/cp-a-selinux
+++ b/tests/cp/cp-a-selinux
@@ -34,7 +34,7 @@ cleanup_() { cd /; umount "$cwd/mnt"; }
dd if=/dev/zero of=blob bs=8192 count=200 > /dev/null 2>&1 \
|| framework_failure
mkdir mnt || framework_failure
-mkfs -t ext2 -F blob > /dev/null 2>&1 || framework_failure
+mkfs -t ext2 -F blob || framework_failure
# This context is special: it works even when mcstransd isn't running.
ctx=root:object_r:tmp_t:s0