From 3341f3c2687bedd1916276f5c0dcf53ecd3e98c3 Mon Sep 17 00:00:00 2001 From: Erik Ekman Date: Sun, 11 Feb 2007 15:04:44 +0000 Subject: [PATCH] Additional checks --- tests/user.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/user.c b/tests/user.c index d7a437d..8f3ee84 100644 --- a/tests/user.c +++ b/tests/user.c @@ -136,10 +136,12 @@ START_TEST(test_find_available_user) users[3].active = 0; fail_unless(find_available_user() == 3); + fail_unless(find_available_user() == -1); users[3].last_pkt = 55; fail_unless(find_available_user() == 3); + fail_unless(find_available_user() == -1); } END_TEST