/*
* Copyright (C) 2011-2013 Internet Systems Consortium, Inc. ("ISC")
*
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id$ */
/*! \file */
#include <config.h>
#include <atf-c.h>
#include <unistd.h>
#include "isctest.h"
static void
}
/*
* Individual unit tests
*/
}
int i;
/* Nothing should be in the table yet */
/*
* Put 1024 entries in the table (this should necessate
* regrowing the hash table several times
*/
for (i = 0; i < 1024; i++) {
if (result != ISC_R_SUCCESS)
}
/*
* Try to put them in again; this should fail
*/
for (i = 0; i < 1024; i++) {
}
/*
* Retrieve them; this should succeed
*/
for (i = 0; i < 1024; i++) {
}
/*
* Undefine them
*/
for (i = 0; i < 1024; i++) {
}
/*
* Retrieve them again; this should fail
*/
for (i = 0; i < 1024; i++) {
}
isc_test_end();
}
/*
* Main
*/
return (atf_no_error());
}