diff options
author | Ralph Boehme <slow@samba.org> | 2018-11-23 10:18:44 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2018-12-13 13:48:26 +0100 |
commit | de114204480a59b06ac6d8e63647cb6ec9e06b7e (patch) | |
tree | 2ef648ed048cc3479d3426c03817408611f34954 /selftest/target | |
parent | 8c031cf05e52c1d5ade78d33db2e9f4ff21d17e7 (diff) | |
download | samba-de114204480a59b06ac6d8e63647cb6ec9e06b7e.tar.gz |
s3:script/tests: add a test for VSS write behaviour
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13688
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(backported from commit 12778f015988f7e8755016c72c26939998758dae)
Diffstat (limited to 'selftest/target')
-rwxr-xr-x | selftest/target/Samba3.pm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index 3747a1e087e..02060f1e0f6 100755 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -2158,6 +2158,15 @@ sub provision($$$$$$$$$) vfs objects = shadow_copy2 shadow:mountpoint = $shadow_mntdir wide links = yes + +[shadow_write] + path = $shadow_tstdir + comment = previous versions snapshots under mount point + vfs objects = shadow_copy2 error_inject + aio write size = 0 + error_inject:pwrite = EBADF + shadow:mountpoint = $shadow_tstdir + [dfq] path = $shrdir/dfree vfs objects = acl_xattr fake_acls xattr_tdb fake_dfq |