test: Corrected and documents -v vs -V transaction testing
This commit is contained in:
parent
ea64bb3f3d
commit
839077de57
4 changed files with 7 additions and 6 deletions
|
|
@ -49,7 +49,7 @@
|
||||||
* -U general-purpose upgrade
|
* -U general-purpose upgrade
|
||||||
* -t enable transaction logging (call syslog for every transaction)
|
* -t enable transaction logging (call syslog for every transaction)
|
||||||
* -V <xpath> Failing validate and commit if <xpath> is present (synthetic error)
|
* -V <xpath> Failing validate and commit if <xpath> is present (synthetic error)
|
||||||
|
* Note example_backend uses -v
|
||||||
*/
|
*/
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,7 @@
|
||||||
* - transaction test
|
* - transaction test
|
||||||
* -t enable transaction logging (call syslog for every transaction)
|
* -t enable transaction logging (call syslog for every transaction)
|
||||||
* -v <xpath> Failing validate and commit if <xpath> is present (synthetic error)
|
* -v <xpath> Failing validate and commit if <xpath> is present (synthetic error)
|
||||||
|
* Note example_backend uses -V
|
||||||
*/
|
*/
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
||||||
|
|
@ -152,8 +152,8 @@ if [ $BE -ne 0 ]; then
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
err
|
err
|
||||||
fi
|
fi
|
||||||
new "start backend -s init -f $cfg -l f$flog -- -t -V \"/x/y[a='$errnr']\""
|
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
|
start_backend -s init -f $cfg -l f$flog -- -t -v "/x/y[a='$errnr']" # -t means transaction logging
|
||||||
fi
|
fi
|
||||||
|
|
||||||
new "wait backend"
|
new "wait backend"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue