diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2015-01-14 10:43:14 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2015-01-14 15:20:34 +0100 |
commit | c224508bf88d3ed683b86659f9856272150135f8 (patch) | |
tree | e872bd9106d4db8cf51664b7a2219726ea358c14 /tests | |
parent | 15d71a8c51b93efd169cb2779ba442abdbcd1f5f (diff) | |
download | libssh-c224508bf88d3ed683b86659f9856272150135f8.tar.gz libssh-c224508bf88d3ed683b86659f9856272150135f8.tar.xz libssh-c224508bf88d3ed683b86659f9856272150135f8.zip |
pkd: Check return value of pkd_run_tests().
CID: #1245697
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pkd/pkd_hello.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/pkd/pkd_hello.c b/tests/pkd/pkd_hello.c index 2183f897..19d29a35 100644 --- a/tests/pkd/pkd_hello.c +++ b/tests/pkd/pkd_hello.c @@ -523,6 +523,9 @@ int main(int argc, char **argv) { } } else { rc = pkd_run_tests(); + if (rc != 0) { + fprintf(stderr, "pkd_run_tests failed: %d\n", rc); + } } rc = ssh_finalize(); |