* Made a separate Clixon datastore XML/JSON top-level symbol
* Replaces the hardcoded "config" keyword. * Implemented by a compile-time option called `DATASTORE_TOP_SYMBOL` option in clixon_custom.h * Tests: added endtest to all tests. Removed all premature exits if BE=0
This commit is contained in:
parent
2ab90d847b
commit
b7991d9b39
132 changed files with 939 additions and 628 deletions
|
|
@ -98,7 +98,7 @@ EOF
|
|||
|
||||
# NACM rules and top/ config
|
||||
cat <<EOF > $dir/startup_db
|
||||
<config>
|
||||
<${DATASTORE_TOP}>
|
||||
<nacm xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-acm">
|
||||
<enable-nacm>true</enable-nacm>
|
||||
<read-default>deny</read-default>
|
||||
|
|
@ -163,7 +163,7 @@ cat <<EOF > $dir/startup_db
|
|||
<anonymous>42</anonymous>
|
||||
<wilma>71</wilma>
|
||||
</top>
|
||||
</config>
|
||||
</${DATASTORE_TOP}>
|
||||
EOF
|
||||
|
||||
# Restconf auth test with arguments:
|
||||
|
|
@ -316,3 +316,6 @@ unset MSGERR1
|
|||
unset MSGERR2
|
||||
|
||||
rm -rf $dir
|
||||
|
||||
new "endtest"
|
||||
endtest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue