Lines Matching refs:check

125     struct host_decl *check = 0;  in lease_hash_test_2hosts()  local
157 ATF_CHECK_MSG(host_hash_lookup(&check, host_uid_hash, clientid1, in lease_hash_test_2hosts()
161 ATF_CHECK_MSG(!check, "Host1 is not supposed to be in the uid_hash."); in lease_hash_test_2hosts()
163 ATF_CHECK_MSG(host_hash_lookup(&check, host_uid_hash, clientid2, in lease_hash_test_2hosts()
166 ATF_CHECK_MSG(!check, "Host2 is not supposed to be in the uid_hash."); in lease_hash_test_2hosts()
178 ATF_CHECK_MSG(host_hash_lookup(&check, host_uid_hash, clientid1, in lease_hash_test_2hosts()
181 ATF_CHECK_MSG(check, "Host1 was supposed to be in the uid_hash."); in lease_hash_test_2hosts()
184 ATF_CHECK_MSG(check == host1, "Wrong host returned by host_hash_lookup"); in lease_hash_test_2hosts()
191 host_dereference(&check, MDL); /* we don't need it now */ in lease_hash_test_2hosts()
193 ATF_CHECK_MSG(check == NULL, "check pointer is supposed to be NULL"); in lease_hash_test_2hosts()
199 ATF_CHECK_MSG(host_hash_lookup(&check, host_uid_hash, clientid2, in lease_hash_test_2hosts()
202 ATF_CHECK_MSG(check == NULL, "Host2 was not supposed to be in the hash."); in lease_hash_test_2hosts()
211 ATF_CHECK_MSG(host_hash_lookup(&check, host_uid_hash, clientid2, in lease_hash_test_2hosts()
214 ATF_CHECK_MSG(check, "Host2 was supposed to be in the uid_hash."); in lease_hash_test_2hosts()
217 ATF_CHECK_MSG(check == host2, "Wrong host returned by host_hash_lookup"); in lease_hash_test_2hosts()
222 host_dereference(&check, MDL); /* we don't need it now */ in lease_hash_test_2hosts()
227 ATF_CHECK_MSG(host_hash_lookup(&check, host_uid_hash, clientid1, in lease_hash_test_2hosts()
230 ATF_CHECK_MSG(check, "Host1 was supposed to be in the uid_hash."); in lease_hash_test_2hosts()
233 ATF_CHECK_MSG(check == host1, "Wrong host returned by host_hash_lookup"); in lease_hash_test_2hosts()
238 host_dereference(&check, MDL); /* we don't need it now */ in lease_hash_test_2hosts()
255 ATF_CHECK_MSG(host_hash_lookup(&check, host_uid_hash, clientid1, in lease_hash_test_2hosts()
258 ATF_CHECK_MSG(!check, "Host1 is not supposed to be in the uid_hash."); in lease_hash_test_2hosts()
261 ATF_CHECK_MSG(host_hash_lookup(&check, host_uid_hash, clientid2, in lease_hash_test_2hosts()
264 host_dereference(&check, MDL); in lease_hash_test_2hosts()
272 ATF_CHECK_MSG(host_hash_lookup(&check, host_uid_hash, clientid2, in lease_hash_test_2hosts()
319 struct host_decl *check = 0; in lease_hash_test_3hosts() local
343 ATF_CHECK_MSG(host_hash_lookup(&check, host_uid_hash, clientid1, in lease_hash_test_3hosts()
347 ATF_CHECK_MSG(!check, "Host1 is not supposed to be in the uid_hash."); in lease_hash_test_3hosts()
349 ATF_CHECK_MSG(host_hash_lookup(&check, host_uid_hash, clientid2, in lease_hash_test_3hosts()
352 ATF_CHECK_MSG(!check, "Host2 is not supposed to be in the uid_hash."); in lease_hash_test_3hosts()
354 ATF_CHECK_MSG(host_hash_lookup(&check, host_uid_hash, clientid3, in lease_hash_test_3hosts()
357 ATF_CHECK_MSG(!check, "Host3 is not supposed to be in the uid_hash."); in lease_hash_test_3hosts()
364 ATF_CHECK_MSG(host_hash_lookup(&check, host_uid_hash, clientid1, in lease_hash_test_3hosts()
368 ATF_CHECK_MSG(check == host1, "Wrong host returned by host_hash_lookup"); in lease_hash_test_3hosts()
369 host_dereference(&check, MDL); /* we don't need it now */ in lease_hash_test_3hosts()
371 ATF_CHECK_MSG(host_hash_lookup(&check, host_uid_hash, clientid2, in lease_hash_test_3hosts()
374 ATF_CHECK_MSG(check, "Host2 was supposed to be in the uid_hash."); in lease_hash_test_3hosts()
376 ATF_CHECK_MSG(check == host2, "Wrong host returned by host_hash_lookup"); in lease_hash_test_3hosts()
377 host_dereference(&check, MDL); /* we don't need it now */ in lease_hash_test_3hosts()
379 ATF_CHECK_MSG(host_hash_lookup(&check, host_uid_hash, clientid3, in lease_hash_test_3hosts()
382 ATF_CHECK_MSG(check, "Host3 was supposed to be in the uid_hash."); in lease_hash_test_3hosts()
384 ATF_CHECK_MSG(check == host3, "Wrong host returned by host_hash_lookup"); in lease_hash_test_3hosts()
385 host_dereference(&check, MDL); /* we don't need it now */ in lease_hash_test_3hosts()
393 ATF_CHECK_MSG(host_hash_lookup(&check, host_uid_hash, clientid1, in lease_hash_test_3hosts()
396 ATF_CHECK_MSG(!check, "Host1 is not supposed to be in the uid_hash."); in lease_hash_test_3hosts()
399 ATF_CHECK_MSG(host_hash_lookup(&check, host_uid_hash, clientid2, in lease_hash_test_3hosts()
402 host_dereference(&check, MDL); in lease_hash_test_3hosts()
403 ATF_CHECK_MSG(host_hash_lookup(&check, host_uid_hash, clientid3, in lease_hash_test_3hosts()
406 host_dereference(&check, MDL); in lease_hash_test_3hosts()
411 ATF_CHECK_MSG(host_hash_lookup(&check, host_uid_hash, clientid2, in lease_hash_test_3hosts()
414 ATF_CHECK_MSG(host_hash_lookup(&check, host_uid_hash, clientid3, in lease_hash_test_3hosts()
417 host_dereference(&check, MDL); in lease_hash_test_3hosts()
422 ATF_CHECK_MSG(host_hash_lookup(&check, host_uid_hash, clientid3, in lease_hash_test_3hosts()
425 host_dereference(&check, MDL); in lease_hash_test_3hosts()