Skip to content

Commit 1c6e3d7

Browse files
Check that fork() returns >= 0 in RAND_poll fork test
1 parent 133e238 commit 1c6e3d7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/api.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33165,6 +33165,7 @@ static int test_wolfSSL_RAND_poll(void)
3316533165

3316633166
ExpectIntEQ(pipe(pipefds), 0);
3316733167
pid = fork();
33168+
ExpectIntGE(pid, 0);
3316833169
if (pid == 0)
3316933170
{
3317033171
ssize_t n_written = 0;

0 commit comments

Comments
 (0)