--- a/test/bin-test/test-dav-sync-metadata2.sh Sun Jul 02 11:06:14 2023 +0200 +++ b/test/bin-test/test-dav-sync-metadata2.sh Sun Jul 02 11:08:08 2023 +0200 @@ -38,7 +38,7 @@ exit 1 fi -XATTR=../../build/xattrtool +XATTR=../../build/bin/xattrtool # checks if tmp-sync/out.txt contains a specific text # arg1: pattern @@ -111,6 +111,7 @@ $DAV_SYNC_BIN add-tag -s test4a tmp-sync/test4a/dir1/file3 sub + $DAV_SYNC_BIN push test4a -t test1 > tmp-sync/out.txt if [ $? -ne 0 ]; then @@ -126,6 +127,7 @@ check_tmpout "0 conflicts" "test 1: wrong conflict counter (pull)" check_tmpout "0 errors" "test 1: wrong error counter (pull)" + cat tmp-sync/test4b/dir1/file3 > /dev/null 2>&1 if [ $? -eq 0 ]; then echo "test 1: file 3 must not be synced" @@ -156,6 +158,7 @@ check_tmpout "update: /file1" "test 3: file1 not updated (push)" check_tmpout "update: /dir1/file3" "test 3: file3 not updated (push)" + $DAV_SYNC_BIN pull test4b -t test3 > tmp-sync/out.txt if [ $? -ne 0 ]; then