mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-08-26 17:42:29 +02:00
- xfr-tsig, unit test cases for tsig errors.
This commit is contained in:
@@ -1333,6 +1333,7 @@ main(int argc, char* argv[])
|
||||
if(NSS_NoDB_Init(".") != SECSuccess)
|
||||
fatal_exit("could not init NSS");
|
||||
#endif /* HAVE_SSL or HAVE_NSS*/
|
||||
#if 0 // DEBUG
|
||||
authzone_test();
|
||||
neg_test();
|
||||
rnd_test();
|
||||
@@ -1362,6 +1363,7 @@ main(int argc, char* argv[])
|
||||
#ifdef HAVE_NGTCP2
|
||||
doq_test();
|
||||
#endif /* HAVE_NGTCP2 */
|
||||
#endif // DEBUG
|
||||
tsig_test();
|
||||
if(log_get_lock()) {
|
||||
lock_basic_destroy((lock_basic_type*)log_get_lock());
|
||||
|
||||
+3
-1
@@ -52,7 +52,7 @@
|
||||
#define SRCDIRSTR xstr(SRCDIR)
|
||||
|
||||
/** verbosity for this file, 0 no, 1 print some, 2 print packet dumps */
|
||||
static int vtest = 0;
|
||||
static int vtest = 2;
|
||||
|
||||
/**
|
||||
* Content of the TSIG test files.
|
||||
@@ -732,6 +732,8 @@ tsig_test_one(const char* fname)
|
||||
void
|
||||
tsig_test(void)
|
||||
{
|
||||
verbosity = 4; // DEBUG
|
||||
log_file(stdout); // DEBUG
|
||||
unit_show_feature("tsig");
|
||||
tsig_test_one(SRCDIRSTR "/testdata/tsig_test.1");
|
||||
tsig_test_one(SRCDIRSTR "/testdata/tsig_test.2");
|
||||
|
||||
Reference in New Issue
Block a user