mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-11 18:50:28 +09:00
tests: Fix wording in comment to make sense
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -97,7 +97,7 @@ static void torture_channel_read_error(void **state) {
|
|||||||
rc = ssh_channel_request_exec(channel, "hexdump -C /dev/urandom");
|
rc = ssh_channel_request_exec(channel, "hexdump -C /dev/urandom");
|
||||||
assert_ssh_return_code(session, rc);
|
assert_ssh_return_code(session, rc);
|
||||||
|
|
||||||
/* send crap and for server to send us a disconnect */
|
/* send crap and wait for server to send us a disconnect */
|
||||||
fd = ssh_get_fd(session);
|
fd = ssh_get_fd(session);
|
||||||
assert_true(fd > 2);
|
assert_true(fd > 2);
|
||||||
rc = write(fd, "AAAA", 4);
|
rc = write(fd, "AAAA", 4);
|
||||||
|
|||||||
Reference in New Issue
Block a user