1
1
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:
Alexey Bogdanenko 2018-12-08 15:35:30 +03:00
parent 7935dae547
commit 1e5548c0e0

View File

@ -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;
} }