test/bin-test/dav-home/sync.xml

Tue, 17 Sep 2019 21:06:03 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Tue, 17 Sep 2019 21:06:03 +0200
changeset 643
5b8643cf0a2f
parent 637
20241338740c
child 657
8f3410b9148f
permissions
-rw-r--r--

implement hash push strategy and add some tests

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
	<!--
	Test 1: default settings after add-directory
	-->
	<directory>
		<name>test1a</name>
		<path>$HOME/tmp-sync/test1a</path>
		<repository>dav-test-repo</repository>
		<collection>/sync/test1</collection>
		<trash>.trash</trash>
		<database>dav-sync-tests-test1a-db.xml</database>
	</directory>
	
	<directory>
		<name>test1b</name>
		<path>$HOME/tmp-sync/test1b</path>
		<repository>dav-test-repo</repository>
		<collection>/sync/test1</collection>
		<trash>.trash</trash>
		<database>dav-sync-tests-test1b-db.xml</database>
	</directory>
	
	<!--
	Test 2: default settings after add-directory
	-->
	<directory>
		<name>test2a</name>
		<path>$HOME/tmp-sync/test2a</path>
		<repository>dav-test-repo</repository>
		<collection>/sync/test2</collection>
		<trash>.trash</trash>
		<database>dav-sync-tests-test2a-db.xml</database>
		<hashing>true</hashing>
	</directory>
	
	<directory>
		<name>test2b</name>
		<path>$HOME/tmp-sync/test2b</path>
		<repository>dav-test-repo</repository>
		<collection>/sync/test2</collection>
		<trash>.trash</trash>
		<database>dav-sync-tests-test2b-db.xml</database>
		<hashing>true</hashing>
	</directory>
	
	<directory>
		<!-- same as test2a but with push strategy hash -->
		<name>test2ah</name>
		<path>$HOME/tmp-sync/test2a</path>
		<repository>dav-test-repo</repository>
		<collection>/sync/test2</collection>
		<trash>.trash</trash>
		<database>dav-sync-tests-test2a-db.xml</database>
		<hashing>true</hashing>
		<push-strategy>hash</push-strategy>
	</directory>
	
	<directory>
		<name>test2bh</name>
		<!-- same as test2b but with push strategy hash -->
		<path>$HOME/tmp-sync/test2b</path>
		<repository>dav-test-repo</repository>
		<collection>/sync/test2</collection>
		<trash>.trash</trash>
		<database>dav-sync-tests-test2b-db.xml</database>
		<hashing>true</hashing>
		<push-strategy>hash</push-strategy>
	</directory>
</configuration>

mercurial