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

Sat, 12 Oct 2019 18:41:10 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sat, 12 Oct 2019 18:41:10 +0200
changeset 657
8f3410b9148f
parent 643
5b8643cf0a2f
child 661
1baec7ff8931
permissions
-rw-r--r--

add test for testing transition from config without hashing to config with enabled hashing

571
f6de48471c9c add first dav-sync binary tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
f6de48471c9c add first dav-sync binary tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
2 <configuration>
f6de48471c9c add first dav-sync binary tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
3 <!--
f6de48471c9c add first dav-sync binary tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
4 Test 1: default settings after add-directory
f6de48471c9c add first dav-sync binary tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
5 -->
f6de48471c9c add first dav-sync binary tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
6 <directory>
f6de48471c9c add first dav-sync binary tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
7 <name>test1a</name>
f6de48471c9c add first dav-sync binary tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
8 <path>$HOME/tmp-sync/test1a</path>
f6de48471c9c add first dav-sync binary tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
9 <repository>dav-test-repo</repository>
f6de48471c9c add first dav-sync binary tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
10 <collection>/sync/test1</collection>
f6de48471c9c add first dav-sync binary tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
11 <trash>.trash</trash>
f6de48471c9c add first dav-sync binary tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
12 <database>dav-sync-tests-test1a-db.xml</database>
f6de48471c9c add first dav-sync binary tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
13 </directory>
f6de48471c9c add first dav-sync binary tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
14
f6de48471c9c add first dav-sync binary tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
15 <directory>
f6de48471c9c add first dav-sync binary tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
16 <name>test1b</name>
f6de48471c9c add first dav-sync binary tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
17 <path>$HOME/tmp-sync/test1b</path>
f6de48471c9c add first dav-sync binary tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
18 <repository>dav-test-repo</repository>
f6de48471c9c add first dav-sync binary tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
19 <collection>/sync/test1</collection>
f6de48471c9c add first dav-sync binary tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
20 <trash>.trash</trash>
622
6524f45f304e add some dav-sync pull tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 571
diff changeset
21 <database>dav-sync-tests-test1b-db.xml</database>
571
f6de48471c9c add first dav-sync binary tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
22 </directory>
637
20241338740c add first dav-sync hashing test
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 622
diff changeset
23
20241338740c add first dav-sync hashing test
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 622
diff changeset
24 <!--
657
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
25 Test 2: enabled hashing
637
20241338740c add first dav-sync hashing test
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 622
diff changeset
26 -->
20241338740c add first dav-sync hashing test
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 622
diff changeset
27 <directory>
20241338740c add first dav-sync hashing test
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 622
diff changeset
28 <name>test2a</name>
20241338740c add first dav-sync hashing test
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 622
diff changeset
29 <path>$HOME/tmp-sync/test2a</path>
20241338740c add first dav-sync hashing test
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 622
diff changeset
30 <repository>dav-test-repo</repository>
20241338740c add first dav-sync hashing test
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 622
diff changeset
31 <collection>/sync/test2</collection>
20241338740c add first dav-sync hashing test
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 622
diff changeset
32 <trash>.trash</trash>
20241338740c add first dav-sync hashing test
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 622
diff changeset
33 <database>dav-sync-tests-test2a-db.xml</database>
20241338740c add first dav-sync hashing test
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 622
diff changeset
34 <hashing>true</hashing>
20241338740c add first dav-sync hashing test
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 622
diff changeset
35 </directory>
20241338740c add first dav-sync hashing test
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 622
diff changeset
36
20241338740c add first dav-sync hashing test
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 622
diff changeset
37 <directory>
20241338740c add first dav-sync hashing test
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 622
diff changeset
38 <name>test2b</name>
20241338740c add first dav-sync hashing test
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 622
diff changeset
39 <path>$HOME/tmp-sync/test2b</path>
20241338740c add first dav-sync hashing test
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 622
diff changeset
40 <repository>dav-test-repo</repository>
20241338740c add first dav-sync hashing test
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 622
diff changeset
41 <collection>/sync/test2</collection>
20241338740c add first dav-sync hashing test
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 622
diff changeset
42 <trash>.trash</trash>
20241338740c add first dav-sync hashing test
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 622
diff changeset
43 <database>dav-sync-tests-test2b-db.xml</database>
20241338740c add first dav-sync hashing test
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 622
diff changeset
44 <hashing>true</hashing>
20241338740c add first dav-sync hashing test
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 622
diff changeset
45 </directory>
643
5b8643cf0a2f implement hash push strategy and add some tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 637
diff changeset
46
5b8643cf0a2f implement hash push strategy and add some tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 637
diff changeset
47 <directory>
5b8643cf0a2f implement hash push strategy and add some tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 637
diff changeset
48 <!-- same as test2a but with push strategy hash -->
5b8643cf0a2f implement hash push strategy and add some tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 637
diff changeset
49 <name>test2ah</name>
5b8643cf0a2f implement hash push strategy and add some tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 637
diff changeset
50 <path>$HOME/tmp-sync/test2a</path>
5b8643cf0a2f implement hash push strategy and add some tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 637
diff changeset
51 <repository>dav-test-repo</repository>
5b8643cf0a2f implement hash push strategy and add some tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 637
diff changeset
52 <collection>/sync/test2</collection>
5b8643cf0a2f implement hash push strategy and add some tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 637
diff changeset
53 <trash>.trash</trash>
5b8643cf0a2f implement hash push strategy and add some tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 637
diff changeset
54 <database>dav-sync-tests-test2a-db.xml</database>
5b8643cf0a2f implement hash push strategy and add some tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 637
diff changeset
55 <hashing>true</hashing>
5b8643cf0a2f implement hash push strategy and add some tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 637
diff changeset
56 <push-strategy>hash</push-strategy>
5b8643cf0a2f implement hash push strategy and add some tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 637
diff changeset
57 </directory>
5b8643cf0a2f implement hash push strategy and add some tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 637
diff changeset
58
5b8643cf0a2f implement hash push strategy and add some tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 637
diff changeset
59 <directory>
5b8643cf0a2f implement hash push strategy and add some tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 637
diff changeset
60 <name>test2bh</name>
5b8643cf0a2f implement hash push strategy and add some tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 637
diff changeset
61 <!-- same as test2b but with push strategy hash -->
5b8643cf0a2f implement hash push strategy and add some tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 637
diff changeset
62 <path>$HOME/tmp-sync/test2b</path>
5b8643cf0a2f implement hash push strategy and add some tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 637
diff changeset
63 <repository>dav-test-repo</repository>
5b8643cf0a2f implement hash push strategy and add some tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 637
diff changeset
64 <collection>/sync/test2</collection>
5b8643cf0a2f implement hash push strategy and add some tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 637
diff changeset
65 <trash>.trash</trash>
5b8643cf0a2f implement hash push strategy and add some tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 637
diff changeset
66 <database>dav-sync-tests-test2b-db.xml</database>
5b8643cf0a2f implement hash push strategy and add some tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 637
diff changeset
67 <hashing>true</hashing>
5b8643cf0a2f implement hash push strategy and add some tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 637
diff changeset
68 <push-strategy>hash</push-strategy>
5b8643cf0a2f implement hash push strategy and add some tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 637
diff changeset
69 </directory>
657
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
70
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
71 <!--
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
72 Test 3: transition from sync without hashing to sync with hashing
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
73 -->
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
74 <directory>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
75 <name>test3a</name>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
76 <path>$HOME/tmp-sync/test3a</path>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
77 <repository>dav-test-repo</repository>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
78 <collection>/sync/test3</collection>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
79 <trash>.trash</trash>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
80 <database>dav-sync-tests-test3a-db.xml</database>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
81 </directory>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
82
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
83 <directory>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
84 <name>test3b</name>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
85 <path>$HOME/tmp-sync/test3b</path>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
86 <repository>dav-test-repo</repository>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
87 <collection>/sync/test3</collection>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
88 <trash>.trash</trash>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
89 <database>dav-sync-tests-test3b-db.xml</database>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
90 </directory>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
91
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
92 <directory>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
93 <name>test3ah</name>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
94 <path>$HOME/tmp-sync/test3a</path>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
95 <repository>dav-test-repo</repository>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
96 <collection>/sync/test3</collection>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
97 <trash>.trash</trash>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
98 <database>dav-sync-tests-test3a-db.xml</database>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
99 <hashing>true</hashing>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
100 </directory>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
101
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
102 <directory>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
103 <name>test3bh</name>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
104 <path>$HOME/tmp-sync/test3b</path>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
105 <repository>dav-test-repo</repository>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
106 <collection>/sync/test3</collection>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
107 <trash>.trash</trash>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
108 <database>dav-sync-tests-test3b-db.xml</database>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
109 <hashing>true</hashing>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
110 </directory>
8f3410b9148f add test for testing transition from config without hashing to config with enabled hashing
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 643
diff changeset
111
571
f6de48471c9c add first dav-sync binary tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
112 </configuration>

mercurial