summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/test/test-process-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-process-util.c b/src/test/test-process-util.c
index 12bac656e2..48c5f44e01 100644
--- a/src/test/test-process-util.c
+++ b/src/test/test-process-util.c
@@ -1007,7 +1007,7 @@ TEST(pid_get_start_time) {
_cleanup_(pidref_done_sigkill_wait) PidRef child = PIDREF_NULL;
- ASSERT_OK(pidref_safe_fork("(stub)", FORK_RESET_SIGNALS|FORK_CLOSE_ALL_FDS|FORK_REOPEN_LOG, &child));
+ ASSERT_OK_POSITIVE(pidref_safe_fork("(stub)", FORK_RESET_SIGNALS|FORK_CLOSE_ALL_FDS|FORK_REOPEN_LOG|FORK_FREEZE, &child));
usec_t start_time2;
ASSERT_OK(pidref_get_start_time(&child, &start_time2));