mirror of
https://git.code.sf.net/p/linux-ima/ima-evm-utils
synced 2025-04-28 06:33:36 +02:00
fsverity.test: Add /usr/sbin into $PATH
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@suse.cz> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
This commit is contained in:
parent
1803accc3f
commit
0924a739e2
@ -30,7 +30,7 @@
|
|||||||
# custom policy rules might take precedence.
|
# custom policy rules might take precedence.
|
||||||
|
|
||||||
cd "$(dirname "$0")" || exit 1
|
cd "$(dirname "$0")" || exit 1
|
||||||
PATH=../src:../fsverity-utils:$PATH
|
PATH=../src:../fsverity-utils:/usr/sbin:$PATH
|
||||||
source ./functions.sh
|
source ./functions.sh
|
||||||
|
|
||||||
# Base VERBOSE on the environment variable, if set.
|
# Base VERBOSE on the environment variable, if set.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user