Re: [PATCH ima-evm-utils] fsverity.test: Add /usr/sbin into $PATH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2023-03-10 at 11:47 +0100, Petr Vorel wrote:
> Unlike GitHub CI, tests which run by packaging tools often run as non-root,
> thus required tools aren't visible:
> 
> ./functions.sh: line 45: type: mkfs: not found
> mkfs is required for test
> ./functions.sh: line 45: type: blkid: not found
> blkid is required for test
> ./functions.sh: line 45: type: e2fsck: not found
> e2fsck is required for test
> ./functions.sh: line 45: type: tune2fs: not found
> tune2fs is required for test
> 
> Signed-off-by: Petr Vorel <pvorel@xxxxxxx>
> ---
> Hi Mimi,
> 
> some would maybe appreciate option to skip all tests,
> but this is enough for me.

Hi Petr,

Thank you for the patch.  It's now queued in next-testing.

The UML kernel opens up a lot of options going forward.  For now all
the tests are lumped together, but they should be separated based on
ima-evm-utils selftests vs. the kernel tests.  Even that might not be
granular enough.

For now from the command line, the environment variable "TESTS"
overrides the set of tests as defined in the Makefile to execute.  For
example, "export TESTS="ima_sign.test sign_verify.test"; make -e check"
executes just the two tests.

Also commit b573b7d4a186 ("Introduce TST_LIST variable to select a test
to execute")  can define the set of tests to execute.

-- 
thanks,

Mimi




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux Kernel Hardening]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux