From: Luca Boccassi Date: Mon, 10 Jul 2023 10:59:57 +0000 (+0100) Subject: test-fstab-generator: use test_env X-Git-Tag: v254-rc2~50 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e290bdb77b93bdde3b5465c12c916f9b1a96ce7f;p=thirdparty%2Fsystemd.git 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 --- diff --git a/meson.build b/meson.build index adb21581e67..f8af69911b9 100644 --- a/meson.build +++ b/meson.build @@ -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