152 check_tmpout "0 files pulled" "test4: wrong pull counter" |
152 check_tmpout "0 files pulled" "test4: wrong pull counter" |
153 check_tmpout "0 errors" "test4: wrong error counter" |
153 check_tmpout "0 errors" "test4: wrong error counter" |
154 check_tmpout "0 conflicts" "test4: wrong conflicts counter" |
154 check_tmpout "0 conflicts" "test4: wrong conflicts counter" |
155 |
155 |
156 OUT=`cat tmp-sync/out.txt | wc -l` |
156 OUT=`cat tmp-sync/out.txt | wc -l` |
157 if [ "$OUT" != "1" ]; then |
157 if [ $OUT -ne 1 ]; then |
158 echo "test4: wrong line count" |
158 echo "test4: wrong line count" |
159 exit 2 |
159 exit 2 |
160 fi |
160 fi |
161 |
161 |
162 # ---------------------------------------------------------------------------- |
162 # ---------------------------------------------------------------------------- |
400 dav_sync_pull test1b |
400 dav_sync_pull test1b |
401 check_tmpout "0 errors" "test10: wrong error counter" |
401 check_tmpout "0 errors" "test10: wrong error counter" |
402 check_tmpout "0 conflicts" "test10: wrong conflicts counter" |
402 check_tmpout "0 conflicts" "test10: wrong conflicts counter" |
403 |
403 |
404 OUT=`ls tmp-sync/test1b/ | wc -l` |
404 OUT=`ls tmp-sync/test1b/ | wc -l` |
405 if [ $OUT != "0" ]; then |
405 if [ $OUT -ne 0 ]; then |
406 echo "test1b not empty" |
406 echo "test1b not empty" |
407 exit 2 |
407 exit 2 |
408 fi |
408 fi |
409 |
409 |
410 |
410 |