aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests/test-dict-vendors.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-dict-vendors.c')
-rw-r--r--tests/test-dict-vendors.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test-dict-vendors.c b/tests/test-dict-vendors.c
index 258a729..b183c0c 100644
--- a/tests/test-dict-vendors.c
+++ b/tests/test-dict-vendors.c
@@ -101,6 +101,7 @@ main(
101 int opt_index; 101 int opt_index;
102 size_t pos; 102 size_t pos;
103 unsigned opts; 103 unsigned opts;
104 unsigned tr_opts;
104 TinyRadDict * dict; 105 TinyRadDict * dict;
105 TinyRadDictVendor * vendor; 106 TinyRadDictVendor * vendor;
106 const TinyRadDictVendorDef * vendor_def; 107 const TinyRadDictVendorDef * vendor_def;
@@ -120,7 +121,8 @@ main(
120 121
121 trutils_initialize(PROGRAM_NAME); 122 trutils_initialize(PROGRAM_NAME);
122 123
123 opts = TEST_OPT_DFLT_DICT; 124 opts = 0;
125 tr_opts = TRAD_NOINIT | TRAD_BUILTIN_DICT;
124 126
125 while((c = getopt_long(argc, argv, short_opt, long_opt, &opt_index)) != -1) 127 while((c = getopt_long(argc, argv, short_opt, long_opt, &opt_index)) != -1)
126 { 128 {
@@ -172,7 +174,7 @@ main(
172 }; 174 };
173 175
174 // initialize test dictionary 176 // initialize test dictionary
175 if ((our_dict_initialize(opts, &dict))) 177 if ((our_dict_initialize(opts, tr_opts, &dict)))
176 return(1); 178 return(1);
177 179
178 trutils_verbose(opts, "Vendor format: vendor id/name"); 180 trutils_verbose(opts, "Vendor format: vendor id/name");