mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-07 02:17:43 +02:00
- Fix tests for new rrset-roundrobin default.
This commit is contained in:
@@ -274,6 +274,8 @@ setup_config(FILE* in, int* lineno, int* pass_argc, char* pass_argv[])
|
||||
fprintf(cfg, " pidfile: \"\"\n");
|
||||
fprintf(cfg, " val-log-level: 2\n");
|
||||
fprintf(cfg, "remote-control: control-enable: no\n");
|
||||
/* some basic settings to facilitate testing */
|
||||
fprintf(cfg, "server: rrset-roundrobin: no\n");
|
||||
while(fgets(line, MAX_LINE_LEN-1, in)) {
|
||||
parse = line;
|
||||
(*lineno)++;
|
||||
|
||||
@@ -867,6 +867,8 @@ main(int argc, char* argv[])
|
||||
printf("\tperforms unit tests.\n");
|
||||
return 1;
|
||||
}
|
||||
/* Disable roundrobin for the unit tests */
|
||||
RRSET_ROUNDROBIN = 0;
|
||||
#ifdef USE_LIBEVENT
|
||||
printf("Start of %s+libevent unit test.\n", PACKAGE_STRING);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user