/*
* Copyright (C) 2012, 2015, 2016 Internet Systems Consortium, Inc. ("ISC")
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/* $Id$ */
/*! \file */
#include <config.h>
#include <atf-c.h>
#include <unistd.h>
#include "dnstest.h"
/*
* Helper functions
*/
static void
{
unsigned int attributes;
attributes = 0;
}
static void
unsigned int attributes;
}
static void
unsigned int attributes;
#if debug
unsigned int type;
#endif
#if debug
#endif
if ((attributes & DNS_RDATASTATSTYPE_ATTR_STALE) == 0)
else
ATF_REQUIRE_EQ(value, 0);
}
static void
unsigned int attributes;
#if debug
unsigned int type;
#endif
#if debug
#endif
if ((attributes & DNS_RDATASTATSTYPE_ATTR_STALE) == 0)
ATF_REQUIRE_EQ(value, 0);
else
}
/*
* Individual unit tests
*/
}
unsigned int i;
/* First 256 types. */
for (i = 0; i <= 255; i++)
/* Specials */
/*
* Check that all counters are set to appropriately.
*/
/* First 256 types. */
for (i = 0; i <= 255; i++)
/* Specials */
/*
* Check that all counters are set to appropriately.
*/
dns_test_end();
}
/*
* Main
*/
return (atf_no_error());
}