--- a/test/bin-test/test-dav-sync-metadata1.sh Tue Apr 09 21:43:36 2024 +0200 +++ b/test/bin-test/test-dav-sync-metadata1.sh Wed Apr 10 22:07:17 2024 +0200 @@ -174,7 +174,6 @@ exit 2 fi - # ---------------------------------------------------------------------------- # test 3: modify file1 and push/pull # expected result: file content synced, mtime also synced @@ -199,7 +198,6 @@ exit 2 fi - # ---------------------------------------------------------------------------- # test 4: add xattr to files, push/pull # expected result: xattr synced @@ -274,7 +272,6 @@ exit 2 fi - # ---------------------------------------------------------------------------- # test 5: do nothing, push/pull # expected result: no update, no files pushed/pulled @@ -296,12 +293,12 @@ check_tmpout "0 conflicts" "test 5: wrong conflict counter (pull)" check_tmpout "0 errors" "test 5: wrong error counter (pull)" LN=`cat tmp-sync/out.txt | wc -l` + if [ $LN -ne 1 ]; then echo "test 5: wrong output (pull)" exit 2 fi - # ---------------------------------------------------------------------------- # test 6: add additional xattr to files, push/pull # expected result: xattr synced @@ -500,6 +497,7 @@ check_tmpout "0 conflicts" "test 12: wrong conflict counter (pull)" check_tmpout "0 errors" "test 12: wrong error counter (pull)" LN=`cat tmp-sync/out.txt | wc -l` + if [ $LN -ne 1 ]; then echo "test 12: wrong output (pull)" exit 2