Check that fork() returns >= 0 in RAND_poll fork test

This commit is contained in:
Josh Holtrop
2025-06-10 06:23:06 -04:00
parent 133e238359
commit 1c6e3d729a

View File

@@ -33165,6 +33165,7 @@ static int test_wolfSSL_RAND_poll(void)
ExpectIntEQ(pipe(pipefds), 0);
pid = fork();
ExpectIntGE(pid, 0);
if (pid == 0)
{
ssize_t n_written = 0;