Debug: improved debug level 2 with socket-description, also for notification

This commit is contained in:
Olof hagsand 2023-11-01 13:02:32 +01:00
parent 71431dcd82
commit e9c5287c36
10 changed files with 102 additions and 53 deletions

View file

@ -128,7 +128,7 @@ for op in begin validate complete commit commit_done end; do
done
# Negative test: restart a plugin that does not exist
new "Send restart to nonexistatn plugin expect fail"
new "Send restart to nonexisting plugin expect fail"
expecteof_netconf "$clixon_netconf -qf $cfg" 0 "$DEFAULTHELLO" "<rpc $DEFAULTNS><restart-plugin $LIBNS><plugin>xxx</plugin></restart-plugin></rpc>" "" "<rpc-reply $DEFAULTNS><rpc-error><error-type>application</error-type><error-tag>bad-element</error-tag><error-info><bad-element>plugin</bad-element></error-info><error-severity>error</error-severity><error-message>No such plugin</error-message></rpc-error></rpc-reply>"
if [ $BE -ne 0 ]; then