From: Yu Watanabe Date: Fri, 3 Sep 2021 15:29:11 +0000 (+0900) Subject: test: do not try to remove /dev X-Git-Tag: v250-rc1~719^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F20618%2Fhead;p=thirdparty%2Fsystemd.git test: do not try to remove /dev --- diff --git a/src/test/test-udev.c b/src/test/test-udev.c index c2c63cc679c..1a113a94c3c 100644 --- a/src/test/test-udev.c +++ b/src/test/test-udev.c @@ -126,7 +126,7 @@ static int run(int argc, char *argv[]) { } else { if (unlink(devname) < 0) return log_error_errno(errno, "unlink('%s') failed: %m", devname); - (void) rmdir_parents(devname, "/"); + (void) rmdir_parents(devname, "/dev"); } }