--- a/test/bin-test/dav-home/sync.xml Sat Nov 23 15:14:50 2019 +0100 +++ b/test/bin-test/dav-home/sync.xml Sat Nov 23 17:49:18 2019 +0100 @@ -251,4 +251,53 @@ </split> </splitconfig> </directory> + + <!-- + Test 7: symlinks + --> + <directory> + <name>test7a</name> + <path>$HOME/tmp-sync/test7a</path> + <repository>dav-test-repo</repository> + <collection>/sync/test7</collection> + <trash>.trash</trash> + <database>dav-sync-tests-test7a-db.xml</database> + + <symlink-intern>sync</symlink-intern> + </directory> + + <directory> + <name>test7b</name> + <path>$HOME/tmp-sync/test7b</path> + <repository>dav-test-repo</repository> + <collection>/sync/test7</collection> + <trash>.trash</trash> + <database>dav-sync-tests-test7b-db.xml</database> + + <symlink-intern>sync</symlink-intern> + </directory> + + <directory> + <name>test7a1</name> <!-- same dir/db as test7a --> + <path>$HOME/tmp-sync/test7a</path> + <repository>dav-test-repo</repository> + <collection>/sync/test7</collection> + <trash>.trash</trash> + <database>dav-sync-tests-test7a-db.xml</database> + + <symlink-intern>ignore</symlink-intern> + <symlink-extern>ignore</symlink-extern> + </directory> + + <directory> + <name>test7a2</name> <!-- same dir/db as test7a --> + <path>$HOME/tmp-sync/test7a</path> + <repository>dav-test-repo</repository> + <collection>/sync/test7</collection> + <trash>.trash</trash> + <database>dav-sync-tests-test7a-db.xml</database> + + <symlink-intern>sync</symlink-intern> + <symlink-extern>ignore</symlink-extern> + </directory> </configuration>