[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/3] pkd: fix return code check and some races
[Thread Prev] | [Thread Next]
- Subject: [PATCH 0/3] pkd: fix return code check and some races
- From: Jon Simons <jon@xxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Sat, 9 Sep 2017 20:12:32 -0700
- To: libssh@xxxxxxxxxx
- Cc: Jon Simons <jon@xxxxxxxxxxxxx>
Fix the checking of the exit code for the pkd tests, and fix two races that can occur in testing (first results in spurious failure, second can result in a test hang). Please let me know if these should be adjusted for inclusion to master, thanks! Jon Simons (3): pkd_hello.c: fix return code upon test failure pkd_daemon.c: split final close loop; wait for client to close pkd_daemon.c: force close pkd_state.server_fd upon stop tests/pkd/pkd_daemon.c | 15 +++++++++++++-- tests/pkd/pkd_hello.c | 9 +++++---- 2 files changed, 18 insertions(+), 6 deletions(-) -- 2.14.1
[PATCH 1/3] pkd_hello.c: fix return code upon test failure | Jon Simons <jon@xxxxxxxxxxxxx> |
[PATCH 2/3] pkd_daemon.c: split final close loop; wait for client to close | Jon Simons <jon@xxxxxxxxxxxxx> |
[PATCH 3/3] pkd_daemon.c: force close pkd_state.server_fd upon stop | Jon Simons <jon@xxxxxxxxxxxxx> |