diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2010-02-24 10:53:05 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2010-02-24 10:53:05 +1030 |
commit | ececeffd85db1b27c07cdf91a921fd203006daf6 (patch) | |
tree | 6eed31503cfe5af4c348bb00d4db8cc92cf9b7e7 /swat2 | |
parent | 8c3fda4318adc71899bc41486d5616da3a91a688 (diff) | |
download | samba-ececeffd85db1b27c07cdf91a921fd203006daf6.tar.gz samba-ececeffd85db1b27c07cdf91a921fd203006daf6.tar.bz2 samba-ececeffd85db1b27c07cdf91a921fd203006daf6.zip |
tdb: add -k option to tdbtorture
To test the case of death of a process during transaction commit, add
a -k (kill random) option to tdbtorture. The easiest way to do this
is to make every worker a child (unless there's only one child), which
is why this patch is bigger than you might expect.
Using -k without -t (always transactions) you expect corruption, though
it doesn't happen every time. With -t, we currently get corruption but
the next patch fixes that.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'swat2')
0 files changed, 0 insertions, 0 deletions