From c2d820a7703efd2052e1d59894a913d9491e92a0 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Fri, 1 Mar 2024 23:48:58 +0800 Subject: [PATCH] procps: Run test as tester --- chapter08/procps.xml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/chapter08/procps.xml b/chapter08/procps.xml index 3f229c713..b592f75c2 100644 --- a/chapter08/procps.xml +++ b/chapter08/procps.xml @@ -70,22 +70,17 @@ make make src_w_LDADD='$(LDADD) -lsystemd' - To run the test suite, run: + + To run the test suite, run: -make -k check +su tester -c "PATH=$PATH make check" One test named ps with output flag bsdtime,cputime,etime,etimes is known to fail if the host kernel is not built with - CONFIG_BSD_PROCESS_ACCT enabled. - - Two tests named - pmap X with unreachable process and - pmap XX with unreachable process are known to - fail occasionally. + CONFIG_BSD_PROCESS_ACCT enabled. Install the package: