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
(cherry picked from commit 5dcb40a)
  • Loading branch information
DaanDeMeyer authored and bluca committed Jul 7, 2023
1 parent 02074e7 commit efffd36
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 efffd36

Please sign in to comment.