From e290bdb77b93bdde3b5465c12c916f9b1a96ce7f Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Mon, 10 Jul 2023 11:59:57 +0100 Subject: [PATCH] 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 --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index adb21581e6..f8af69911b 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