YANG ref count for shared fixed

This commit is contained in:
Olof hagsand 2024-06-22 21:19:52 +02:00
parent 5351ac0ffc
commit 5b8828c530
3 changed files with 16 additions and 7 deletions

View file

@ -377,12 +377,15 @@ fi
# move running.d/0.xml to running_db to trigger upgrade
sudo mv $dir/running.d/0.xml $dir/running_db
new "Check backward compatible: if running.0/0.xml is not found read running_db on startup"
new "Check backward compatible: if running.d/0.xml is not found read running_db on startup"
if [ $BE -ne 0 ]; then
new "start backend -s running -f $cfg -- -m clixon-mount1 -M urn:example:mount1"
start_backend -s running -f $cfg -- -m clixon-mount1 -M urn:example:mount1
fi
new "wait backend 2"
wait_backend
new "Check running after restart"
check_db running ${subfilename}