From: Yu Watanabe Date: Sun, 7 Sep 2025 04:55:45 +0000 (+0900) Subject: test-udev: pass test_env to make the test use systemd-detect-virt in build directory X-Git-Tag: v259-rc1~535^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87a87b02b92d6cabbb86fe2c5829d3824d4c1265;p=thirdparty%2Fsystemd.git test-udev: pass test_env to make the test use systemd-detect-virt in build directory Otherwise, the test fails if the running host does not have systemd-detect-virt. --- diff --git a/test/meson.build b/test/meson.build index 4cdd2f43036..505a14aa815 100644 --- a/test/meson.build +++ b/test/meson.build @@ -192,7 +192,7 @@ if want_tests != 'false' test('test-udev', test_udev_py, args : ['-v'], - env : ['UDEV_RULE_RUNNER=' + exe.full_path()], + env : test_env + { 'UDEV_RULE_RUNNER' : exe.full_path() }, depends : exe, timeout : 180, suite : 'udev')