mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
udev-test: fix missing directory test/run
Fixes the following error:
Failed to mount test /run: No such file or directory
By the time command "./test-udev check" calls function "fake_filesystems",
directory "test/run" must be present.
This commit is contained in:
@@ -1558,6 +1558,11 @@ sub udev_setup {
|
||||
|
||||
system("rm", "-rf", "$udev_run");
|
||||
|
||||
if (!mkdir($udev_run)) {
|
||||
warn "unable to create directory $udev_run";
|
||||
return 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user