1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-03-12 08:58:20 +03:00

test-fstab-generator: use test_env

When running from the build directory systemd-detect-virt might not be installed,
so tell meson to set up the PATH accordingly to point to the build directory.

Fixes https://github.com/systemd/systemd/issues/28316
This commit is contained in:
Luca Boccassi 2023-07-10 11:59:57 +01:00 committed by Luca Boccassi
parent d75ec33ed2
commit e290bdb77b

View File

@ -2658,6 +2658,7 @@ if want_tests != 'false'
test_fstab_generator_sh, test_fstab_generator_sh,
# https://github.com/mesonbuild/meson/issues/2681 # https://github.com/mesonbuild/meson/issues/2681
args : exe.full_path(), args : exe.full_path(),
env : test_env,
depends : exe) depends : exe)
endif endif