91 mkdir tmp-sync/test4a |
91 mkdir tmp-sync/test4a |
92 mkdir tmp-sync/test4b |
92 mkdir tmp-sync/test4b |
93 |
93 |
94 # ---------------------------------------------------------------------------- |
94 # ---------------------------------------------------------------------------- |
95 # test 1: add some files and add tags, sync only files with tag test1 |
95 # test 1: add some files and add tags, sync only files with tag test1 |
96 # expected result: only files |
96 # expected result: only files with tag test1 pushed |
97 |
97 |
98 mkdir tmp-sync/test4a/dir1 |
98 mkdir tmp-sync/test4a/dir1 |
99 |
99 |
100 cp synctest/file1 tmp-sync/test4a/ |
100 cp synctest/file1 tmp-sync/test4a/ |
101 cp synctest/file2 tmp-sync/test4a/ |
101 cp synctest/file2 tmp-sync/test4a/ |
182 fi |
182 fi |
183 check_tmpout "test3" "test 3: file1: missing tag test3" |
183 check_tmpout "test3" "test 3: file1: missing tag test3" |
184 check_tmpout "sub" "test 3: file1: missing tag sub" |
184 check_tmpout "sub" "test 3: file1: missing tag sub" |
185 |
185 |
186 |
186 |
|
187 # ---------------------------------------------------------------------------- |
|
188 # test 4: pull without tag filter |
|
189 # expected result: remaining files pulled |
187 |
190 |
|
191 dav_sync_pull test4b "test 4: pull failed" |
|
192 check_tmpout "1 file pulled" "test 4: wrong pull counter" |
|
193 check_tmpout "0 conflicts" "test 4: wrong conflict counter (pull)" |
|
194 check_tmpout "0 errors" "test 4: wrong error counter (pull)" |
|
195 |
|
196 |