diff options
| author | Andreas Schneider <asn@cynapses.org> | 2010-06-17 13:38:13 +0200 |
|---|---|---|
| committer | Andreas Schneider <asn@cynapses.org> | 2010-06-17 13:38:13 +0200 |
| commit | 937268eb3e5462ba9ad556dd0d667ae565c7c603 (patch) | |
| tree | 0c32b43dc8ce561550892968b4804c72241ce7e0 /tests | |
| parent | 8be7ece1f59fe0a48f1e2bcf8be6fbd88ba7c68f (diff) | |
| download | libssh-937268eb3e5462ba9ad556dd0d667ae565c7c603.tar.gz libssh-937268eb3e5462ba9ad556dd0d667ae565c7c603.tar.xz libssh-937268eb3e5462ba9ad556dd0d667ae565c7c603.zip | |
torture: Fixed fd check.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/unittests/torture_options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/torture_options.c b/tests/unittests/torture_options.c index 748c89a5..bba5500a 100644 --- a/tests/unittests/torture_options.c +++ b/tests/unittests/torture_options.c @@ -82,7 +82,7 @@ START_TEST (torture_options_set_fd) rc = ssh_options_set(session, SSH_OPTIONS_FD, NULL); ck_assert(rc == 0); - ck_assert(session->fd == -1); + ck_assert(session->fd == SSH_INVALID_SOCKET); } END_TEST |
