]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test-fstab-generator: use test_env
authorLuca Boccassi <bluca@debian.org>
Mon, 10 Jul 2023 10:59:57 +0000 (11:59 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 10 Jul 2023 14:29:38 +0000 (15:29 +0100)
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

meson.build

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