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

Sat, 19 Oct 2019 09:47:31 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sat, 19 Oct 2019 09:47:31 +0200
changeset 660
e835ec0b7f17
parent 657
8f3410b9148f
child 661
1baec7ff8931
permissions
-rw-r--r--

add tool for accessing extended attributes
this tool is needed for testing

<?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: enabled hashing
	-->
	<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>
	
	<!--
	Test 3: transition from sync without hashing to sync with hashing
	-->
	<directory>
		<name>test3a</name>
		<path>$HOME/tmp-sync/test3a</path>
		<repository>dav-test-repo</repository>
		<collection>/sync/test3</collection>
		<trash>.trash</trash>
		<database>dav-sync-tests-test3a-db.xml</database>
	</directory>
	
	<directory>
		<name>test3b</name>
		<path>$HOME/tmp-sync/test3b</path>
		<repository>dav-test-repo</repository>
		<collection>/sync/test3</collection>
		<trash>.trash</trash>
		<database>dav-sync-tests-test3b-db.xml</database>
	</directory>
	
	<directory>
		<name>test3ah</name>
		<path>$HOME/tmp-sync/test3a</path>
		<repository>dav-test-repo</repository>
		<collection>/sync/test3</collection>
		<trash>.trash</trash>
		<database>dav-sync-tests-test3a-db.xml</database>
		<hashing>true</hashing>
	</directory>
	
	<directory>
		<name>test3bh</name>
		<path>$HOME/tmp-sync/test3b</path>
		<repository>dav-test-repo</repository>
		<collection>/sync/test3</collection>
		<trash>.trash</trash>
		<database>dav-sync-tests-test3b-db.xml</database>
		<hashing>true</hashing>
	</directory>
	
</configuration>

mercurial