isctest.c revision f07b2fccaf6be13d9440d323e9e79ee84fe345e2
c46ce2d79b4398a3db7c25b50c7ca3b292f0afa8Evan Hunt * Copyright (C) 2011 Internet Systems Consortium, Inc. ("ISC")
c46ce2d79b4398a3db7c25b50c7ca3b292f0afa8Evan Hunt * Permission to use, copy, modify, and/or distribute this software for any
c46ce2d79b4398a3db7c25b50c7ca3b292f0afa8Evan Hunt * purpose with or without fee is hereby granted, provided that the above
c46ce2d79b4398a3db7c25b50c7ca3b292f0afa8Evan Hunt * copyright notice and this permission notice appear in all copies.
c46ce2d79b4398a3db7c25b50c7ca3b292f0afa8Evan Hunt * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
c46ce2d79b4398a3db7c25b50c7ca3b292f0afa8Evan Hunt * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
c46ce2d79b4398a3db7c25b50c7ca3b292f0afa8Evan Hunt * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
c46ce2d79b4398a3db7c25b50c7ca3b292f0afa8Evan Hunt * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
c46ce2d79b4398a3db7c25b50c7ca3b292f0afa8Evan Hunt * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
c46ce2d79b4398a3db7c25b50c7ca3b292f0afa8Evan Hunt * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
c46ce2d79b4398a3db7c25b50c7ca3b292f0afa8Evan Hunt * PERFORMANCE OF THIS SOFTWARE.
f07b2fccaf6be13d9440d323e9e79ee84fe345e2Evan Hunt/* $Id: isctest.c,v 1.3 2011/07/28 04:04:37 each Exp $ */
c46ce2d79b4398a3db7c25b50c7ca3b292f0afa8Evan Hunt * Logging categories: this needs to match the list in bin/named/log.c.
c46ce2d79b4398a3db7c25b50c7ca3b292f0afa8Evan Hunt { "client", 0 },
c46ce2d79b4398a3db7c25b50c7ca3b292f0afa8Evan Hunt { "network", 0 },
c46ce2d79b4398a3db7c25b50c7ca3b292f0afa8Evan Hunt { "update", 0 },
c46ce2d79b4398a3db7c25b50c7ca3b292f0afa8Evan Hunt { "queries", 0 },
c46ce2d79b4398a3db7c25b50c7ca3b292f0afa8Evan Hunt { "unmatched", 0 },
c46ce2d79b4398a3db7c25b50c7ca3b292f0afa8Evan Hunt { "update-security", 0 },
c46ce2d79b4398a3db7c25b50c7ca3b292f0afa8Evan Hunt { "query-errors", 0 },
f07b2fccaf6be13d9440d323e9e79ee84fe345e2Evan Hunt CHECK(isc_taskmgr_create(mctx, ncpus, 0, &taskmgr));
f07b2fccaf6be13d9440d323e9e79ee84fe345e2Evan Huntisc_test_begin(FILE *logfile, isc_boolean_t start_managers) {