Skip to content

Commit

Permalink
oom: Make sure temporary test file is in /tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanDeMeyer committed May 30, 2023
1 parent abf25fa commit 5dcb40a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/oom/test-oomd-util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 5dcb40a

Please sign in to comment.