From 3a6734394341cae2ac933a092c610b3c9cf990f5 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Wed, 16 Mar 2022 18:45:21 +0800 Subject: [PATCH] clfs-ng: wrap coreutils root test in 'su -c' --- chapter08/coreutils.xml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/chapter08/coreutils.xml b/chapter08/coreutils.xml index 424ac8d05..e34052bbf 100644 --- a/chapter08/coreutils.xml +++ b/chapter08/coreutils.xml @@ -114,11 +114,12 @@ FORCE_UNSAFE_CONFIGURE=1 ./configure \ Now the test suite is ready to be run. First, run the tests that are meant to be run as user root: -make NON_ROOT_USERNAME=tester check-root - - - One test named chroot-credentials.sh is - known to fail, but it will pass after booting the LFS system. + +su -c 'make NON_ROOT_USERNAME=tester check-root' We're going to run the remainder of the tests as the tester user. Certain tests