--- a/test/bin-test/test-dav-sync-pull1.sh Thu Aug 15 19:38:52 2019 +0200 +++ b/test/bin-test/test-dav-sync-pull1.sh Thu Aug 15 20:00:40 2019 +0200 @@ -379,7 +379,7 @@ rm -Rf tmp-sync/test1a/dir_a dav_sync_push test1a -bash + dav_sync_pull test1b check_tmpout "0 errors" "test10: wrong error counter" check_tmpout "0 conflicts" "test10: wrong conflicts counter" @@ -389,4 +389,23 @@ echo "test10: dir_a not deleted" fi +# ---------------------------------------------------------------------------- +# 11. test: delete all +# expected result: empty dir (except .trash) +rm -Rf tmp-sync/test1a/* + +dav_sync_push test1a + +dav_sync_pull test1b +check_tmpout "0 errors" "test10: wrong error counter" +check_tmpout "0 conflicts" "test10: wrong conflicts counter" + +OUT=`ls tmp-sync/test1b/ | wc -l` +if [ $OUT != "0" ]; then + echo "test1b not empty" + exit 2 +fi + + +