test-fstab-generator: fix test on systemd with systemd-boot

(… or other boot loaders implementing the Boot Loader Interface.)

Fixes #27857.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2023-05-30 22:53:43 +02:00 committed by Luca Boccassi
parent 40fb9eebbc
commit 088d8c99fe

View file

@ -19,6 +19,10 @@ src="$(dirname "$0")/testdata/test-fstab-generator"
# fsck(8) is located in /usr/sbin on Debian
PATH=$PATH:/usr/sbin
# systemd-pcrfs@.service could be enabled or not, depending on the host state
# of the host system. Override the measurement to avoid the issue.
export SYSTEMD_FORCE_MEASURE=0
for f in "$src"/test-*.input; do
echo "*** Running $f"