test: add fake_snap.pl for snapshot simulation
authorDavid Disseldorp <ddiss@samba.org>
Tue, 3 Dec 2013 13:45:49 +0000 (14:45 +0100)
committerMichael Adam <obnox@samba.org>
Wed, 4 Dec 2013 23:47:52 +0000 (00:47 +0100)
commit29b730a4487410e4bdb42d970dc21fe235dce654
tree7cb36dba250657ab8a12ab0becfe6808d7294611
parentb0bbb59c49bd068a0a8feea76b2564da8cfabb11
test: add fake_snap.pl for snapshot simulation

The script simulates snapshots by simply copying file data from the base
path to a snapshot path located under .snapshots/@GMT-%Y.%m.%d-%H.%M.%S/

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/script/tests/fake_snap.pl [new file with mode: 0755]