--- a/test/bin-test/dav-home/sync.xml Sat Oct 12 13:42:32 2019 +0200 +++ b/test/bin-test/dav-home/sync.xml Sat Oct 12 18:41:10 2019 +0200 @@ -22,7 +22,7 @@ </directory> <!-- - Test 2: default settings after add-directory + Test 2: enabled hashing --> <directory> <name>test2a</name> @@ -67,4 +67,46 @@ <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>