projects
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f51608
)
[PATCH] test-cgroup: Ignore ENOENT from cg_create()
author
Solar Designer
<solar@ciq.com>
Thu, 10 Jul 2025 22:28:14 +0000
(
00:28
+0200)
committer
Tobias Deiminger
<tobias.deiminger@linutronix.de>
Mon, 27 Apr 2026 19:48:55 +0000
(21:48 +0200)
which was the only test failure building systemd-252-51.el9 in a
container, also previously reported against 252-rc1 under Gentoo
in #25015
(cherry picked from commit
470da651109e2636c624ac27257a7a64472192f6
)
Origin: upstream, https://github.com/systemd/systemd/commit/
2fb0cb64c346e464b7189328146f7d003dc0f714
Gbp-Pq: Name test-cgroup-Ignore-ENOENT-from-cg_create.patch
src/test/test-cgroup.c
patch
|
blob
|
history
diff --git
a/src/test/test-cgroup.c
b/src/test/test-cgroup.c
index 8b86c60c2206b4a66bfeb9a9dcd7aacdc712b6b0..f77b9f6a9e49c00372c164746185db44330eadbc 100644
(file)
--- a/
src/test/test-cgroup.c
+++ b/
src/test/test-cgroup.c
@@
-66,7
+66,7
@@
TEST(cg_create) {
(void) cg_trim(SYSTEMD_CGROUP_CONTROLLER, test_b, /* delete_root= */ true);
r = cg_create(SYSTEMD_CGROUP_CONTROLLER, test_a);
- if (IN_SET(r, -EPERM, -EACCES, -EROFS)) {
+ if (IN_SET(r, -EPERM, -EACCES, -EROFS
, -ENOENT
)) {
log_info_errno(r, "Skipping %s: %m", __func__);
return;
}