205 if [ $LN -ne 0 ]; then |
205 if [ $LN -ne 0 ]; then |
206 echo "test 2: list-tags not empty" |
206 echo "test 2: list-tags not empty" |
207 exit 2 |
207 exit 2 |
208 fi |
208 fi |
209 |
209 |
|
210 |
|
211 # ---------------------------------------------------------------------------- |
|
212 # test 3: push again |
|
213 # expected result: 0 files pushed/updated |
|
214 |
|
215 dav_sync_push test4a "test 3: push failed" |
|
216 check_tmpout "0 files pushed" "test 3: wrong push counter" |
|
217 check_tmpout "0 conflicts" "test 3: wrong conflict counter (push)" |
|
218 check_tmpout "0 errors" "test 3: wrong error counter (push)" |
|
219 |
|
220 LN=`cat tmp-sync/out.txt | wc -l 2> /dev/null` |
|
221 if [ $LN -ne 1 ]; then |
|
222 echo "test 3: wrong line count" |
|
223 exit 2 |
|
224 fi |
|
225 |
|
226 |
|
227 # ---------------------------------------------------------------------------- |
|
228 # test 4: pull test4b again |
|
229 # expected result: 0 files pushed/updated |
|
230 |
|
231 dav_sync_pull test4b "test 4: pull failed" |
|
232 check_tmpout "0 files pulled" "test 4: wrong pull counter" |
|
233 check_tmpout "0 conflicts" "test 4: wrong conflict counter (pull)" |
|
234 check_tmpout "0 errors" "test 4: wrong error counter (pull)" |
|
235 |
|
236 LN=`cat tmp-sync/out.txt | wc -l 2> /dev/null` |
|
237 if [ $LN -ne 1 ]; then |
|
238 echo "test 4: wrong line count" |
|
239 exit 2 |
|
240 fi |
|
241 |