Modify tests so they all work with evhtp and backend config, eg that CLICON_RESTCONF_CONFIG is default true.
Note that some tests are forced to CLICON_RESTCONF_CONFIG is false due to test complexities.
This commit is contained in:
parent
daaf3f17df
commit
9016dde319
41 changed files with 218 additions and 134 deletions
|
|
@ -601,7 +601,7 @@ main(int argc,
|
|||
extraxml_file = optarg;
|
||||
break;
|
||||
case 'U': /* config user (for socket and drop privileges) */
|
||||
if (clicon_option_add(h, "CLICON_USER", optarg) < 0)
|
||||
if (clicon_username_set(h, optarg) < 0)
|
||||
goto done;
|
||||
if (clicon_option_add(h, "CLICON_BACKEND_PRIVILEGES", "drop_permanent") < 0)
|
||||
goto done;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue