test: Corrected and documents -v vs -V transaction testing

This commit is contained in:
Olof hagsand 2025-03-13 14:32:08 +01:00
parent ea64bb3f3d
commit 839077de57
4 changed files with 7 additions and 6 deletions

View file

@ -49,7 +49,7 @@
* -U general-purpose upgrade
* -t enable transaction logging (call syslog for every transaction)
* -V <xpath> Failing validate and commit if <xpath> is present (synthetic error)
* Note example_backend uses -v
*/
#include <stdio.h>
#include <stdlib.h>

View file

@ -39,6 +39,7 @@
* - transaction test
* -t enable transaction logging (call syslog for every transaction)
* -v <xpath> Failing validate and commit if <xpath> is present (synthetic error)
* Note example_backend uses -V
*/
#include <stdio.h>
#include <stdlib.h>

View file

@ -152,8 +152,8 @@ if [ $BE -ne 0 ]; then
if [ $? -ne 0 ]; then
err
fi
new "start backend -s init -f $cfg -l f$flog -- -t -V \"/x/y[a='$errnr']\""
start_backend -s init -f $cfg -l f$flog -- -t -V "/x/y[a='$errnr']" # -t means transaction logging
new "start backend -s init -f $cfg -l f$flog -- -t -v \"/x/y[a='$errnr']\""
start_backend -s init -f $cfg -l f$flog -- -t -v "/x/y[a='$errnr']" # -t means transaction logging
fi
new "wait backend"