test/bin-test/test-dav-sync-metadata2.sh

changeset 672
4bfe452a2665
parent 670
ef490647f5d1
child 770
fcb243cb9950
--- a/test/bin-test/test-dav-sync-metadata2.sh	Fri Oct 25 19:39:33 2019 +0200
+++ b/test/bin-test/test-dav-sync-metadata2.sh	Sat Oct 26 11:32:27 2019 +0200
@@ -93,7 +93,7 @@
 
 # ----------------------------------------------------------------------------
 # test 1: add some files and add tags, sync only files with tag test1
-# expected result: only files 
+# expected result: only files with tag test1 pushed
 
 mkdir tmp-sync/test4a/dir1
 
@@ -184,4 +184,13 @@
 check_tmpout "sub" "test 3: file1: missing tag sub"
 
 
+# ----------------------------------------------------------------------------
+# test 4: pull without tag filter
+# expected result: remaining files pulled
 
+dav_sync_pull test4b "test 4: pull failed"
+check_tmpout "1 file pulled" "test 4: wrong pull counter"
+check_tmpout "0 conflicts" "test 4: wrong conflict counter (pull)"
+check_tmpout "0 errors" "test 4: wrong error counter (pull)"
+
+

mercurial