mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-26 09:57:26 +03: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:
parent
7935dae547
commit
1e5548c0e0
@ -1558,6 +1558,11 @@ sub udev_setup {
|
|||||||
|
|
||||||
system("rm", "-rf", "$udev_run");
|
system("rm", "-rf", "$udev_run");
|
||||||
|
|
||||||
|
if (!mkdir($udev_run)) {
|
||||||
|
warn "unable to create directory $udev_run";
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user