mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
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.
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user