mirror of
https://github.com/systemd/systemd.git
synced 2025-01-09 01:18:19 +03:00
oom: Make sure temporary test file is in /tmp
This commit is contained in:
parent
abf25fae90
commit
5dcb40a1b0
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user