From 3e2f714248c6cdad706303027dea7fab4e2b1bab Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 29 Dec 2010 09:12:12 +0100 Subject: tests: Fixed a assert bug in torture_auth. --- tests/client/torture_auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/client/torture_auth.c') diff --git a/tests/client/torture_auth.c b/tests/client/torture_auth.c index 463ebd10..7c8edb29 100644 --- a/tests/client/torture_auth.c +++ b/tests/client/torture_auth.c @@ -77,7 +77,7 @@ static void torture_auth_kbdint(void **state) { assert_int_equal(ssh_userauth_kbdint_getnprompts(session), 1); rc = ssh_userauth_kbdint_setanswer(session, 0, password); - assert_true(rc < 0); + assert_false(rc < 0); rc = ssh_userauth_kbdint(session, NULL, NULL); /* Sometimes, SSH server send an empty query at the end of exchange */ -- cgit v1.2.3