[PATCH 1/3] test: add fake_snap.pl for snapshot simulation
obnox at samba.org
Thu Dec 5 09:49:56 MST 2013
On 2013-12-05 at 11:05 +0100, David Disseldorp wrote:
> On Thu, 05 Dec 2013 16:33:08 +1300
> Andrew Bartlett <abartlet at samba.org> wrote:
> > Can we use this to implement tests for the vfs_shadow_copy2 stuff?
> Yes, the WIP branch I presented at SambaXP includes selftest changes
> which expose a snapshottable share using this script.
> The FSRVP torture tests then create and remove snapshots, checking to
> see that previous-file versions are added and removed accordingly.
> It's high time I get this stuff in shape for upstream.
> Cheers, David
> 1. http://git.samba.org/?p=ddiss/samba.git;a=shortlog;h=refs/heads/async_fsrvp_srv_wip_xp2013
That is very useful, I'll also have a look.
in my master-shadow_copy2-wip branch, there is a
started shadow copy torture test (not finished)
the start of which looks vaguely similar to David's
fsrvp enum snaps test.
The idea I had for the shadow_copy2 module test was to manually
create the snapshots for the test environment with the fake-snap
script pushed yesterday and then
only do the snapshot reading ops through the shadow_copy2
For this, I have also extended the fakesnap script
to be able to support more modes that shadow_copy2 knows.
Needs some polishing though of at least the commit message :)
Cheers - Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 215 bytes
Desc: Digital signature
More information about the samba-technical