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
|
|
@ -69,6 +69,7 @@ NACM0="<nacm xmlns=\"urn:ietf:params:xml:ns:yang:ietf-netconf-acm\">
|
|||
</rule-list>
|
||||
</nacm>
|
||||
"
|
||||
|
||||
cat<<EOF > $startupdb
|
||||
<config>
|
||||
$NACM0
|
||||
|
|
@ -115,9 +116,9 @@ if [ $RC -ne 0 ]; then
|
|||
stop_restconf_pre
|
||||
|
||||
new "start restconf daemon (-a is enable basic authentication)"
|
||||
start_restconf -f $cfg -- -a
|
||||
start_restconf -f $cfg -o CLICON_RESTCONF_CONFIG=false -- -a
|
||||
|
||||
new "waiting"
|
||||
new "waiting restconf"
|
||||
wait_restconf
|
||||
fi
|
||||
|
||||
|
|
@ -172,7 +173,7 @@ if [ $RC -ne 0 ]; then
|
|||
stop_restconf_pre
|
||||
|
||||
new "start restconf daemon (-a is enable basic authentication)"
|
||||
start_restconf -f $cfg -- -a
|
||||
start_restconf -f $cfg -o CLICON_RESTCONF_CONFIG=false -- -a
|
||||
|
||||
new "waiting"
|
||||
wait_restconf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue