diff options
Diffstat (limited to 'test.c')
| -rw-r--r-- | test.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -209,7 +209,9 @@ main(int argc, char *argv[]) exit(0); } close(fds[1]); + test(!errno); test(!libsha1_sum_fd(fds[0], LIBSHA1_1, buf)); + errno = 0; /* malloc(3) as been found to set errno=ENOENT on success */ test(waitpid(pid, &status, 0) == pid); test(!status); close(fds[0]); |
