From: Daan De Meyer Date: Sat, 27 May 2023 09:43:10 +0000 (+0200) Subject: oom: Make sure temporary test file is in /tmp X-Git-Tag: v254-rc1~329^2~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5dcb40a1b04b2e574cbf26d1b3a256e874c70849;p=thirdparty%2Fsystemd.git oom: Make sure temporary test file is in /tmp --- diff --git a/src/oom/test-oomd-util.c b/src/oom/test-oomd-util.c index ef99d924bb1..dc659b65513 100644 --- a/src/oom/test-oomd-util.c +++ b/src/oom/test-oomd-util.c @@ -204,7 +204,7 @@ static void test_oomd_update_cgroup_contexts_between_hashmaps(void) { } static void test_oomd_system_context_acquire(void) { - _cleanup_(unlink_tempfilep) char path[] = "/oomdgetsysctxtestXXXXXX"; + _cleanup_(unlink_tempfilep) char path[] = "/tmp/oomdgetsysctxtestXXXXXX"; _cleanup_close_ int fd = -EBADF; OomdSystemContext ctx;