test script minor modifications

This commit is contained in:
Olof hagsand 2019-10-20 21:11:13 +02:00
parent 1fa45067a7
commit 87f76c42f8
6 changed files with 31 additions and 11 deletions

View file

@ -227,7 +227,7 @@ load(){
# Generate file ($fxml)
genfile $1 netconf
# Write it to backend in one chunk
expecteof_file "$clixon_netconf -qf $cfg -y $fyang" "$fxml" "^<rpc-reply><ok/></rpc-reply>]]>]]>$"
expecteof_file "$clixon_netconf -qf $cfg -y $fyang" 0 "$fxml" "^<rpc-reply><ok/></rpc-reply>]]>]]>$"
}
# Run an operation, iterate from <from> to <to> in increment of <step>