1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-21 18:03:41 +03:00

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

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

Fixes #27857.

(cherry picked from commit 088d8c99fe98e00eefdb8263cc9ce218a8023718)
(cherry picked from commit 3222272c46fc47c983df52063810e99c63c77439)
(cherry picked from commit a00581680eb331d8f8e32a1aaca5fb83b22f9bc9)
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2023-05-30 22:53:43 +02:00 committed by Luca Boccassi
parent f0d1dac86e
commit 43c49bb918

View File

@ -17,6 +17,10 @@ src="$(dirname "$0")/testdata/test-fstab-generator"
# fsck(8) is located in /usr/sbin on Debian # fsck(8) is located in /usr/sbin on Debian
PATH=$PATH:/usr/sbin 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 for f in "$src"/test-*.input; do
echo "*** Running $f" echo "*** Running $f"