test fixes: ssh clalhome centos8, auth mem-leak, etc

This commit is contained in:
Olof Hagsand 2021-02-14 10:36:33 +00:00
parent f7d4df01a6
commit dcc19d3edf
5 changed files with 30 additions and 9 deletions

View file

@ -180,6 +180,11 @@ expectpart "$(curl $CURLOPTS -X POST -H "Content-Type: application/yang-data+xml
new "Check running empty"
expecteof "$clixon_netconf -qf $cfg" 0 "<rpc $DEFAULTNS><get-config><source><running/></source></get-config></rpc>]]>]]>" "^<rpc-reply $DEFAULTNS><data/></rpc-reply>]]>]]>$"
if [ $RC -ne 0 ]; then
new "Kill restconf daemon"
stop_restconf
fi
if [ $BE -ne 0 ]; then
new "Kill backend"
# Check if premature kill
@ -194,4 +199,7 @@ fi
# Set by restconf_config
unset RESTCONFIG
new "Endtest"
endtest
rm -rf $dir