Skip to content

Commit

Permalink
[tests] fix return code from wait_for_packet
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  • Loading branch information
fabbione committed Mar 9, 2020
1 parent 0ba5985 commit 016d122
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libknet/tests/test-common.c
Expand Up @@ -581,5 +581,6 @@ int wait_for_packet(knet_handle_t knet_h, int seconds, int datafd, int logfd, FI
return 0;
}

errno = ETIMEDOUT;
return -1;
}

0 comments on commit 016d122

Please sign in to comment.