--- a/test/bin-test/test-dav-sync-pull1.sh Wed Oct 23 20:26:53 2019 +0200 +++ b/test/bin-test/test-dav-sync-pull1.sh Fri Oct 25 19:39:33 2019 +0200 @@ -154,7 +154,7 @@ check_tmpout "0 conflicts" "test4: wrong conflicts counter" OUT=`cat tmp-sync/out.txt | wc -l` -if [ "$OUT" != "1" ]; then +if [ $OUT -ne 1 ]; then echo "test4: wrong line count" exit 2 fi @@ -349,7 +349,7 @@ fi OUT=`ls tmp-sync/test1b/subdir/ | wc -l` -if [ "$OUT" != "0" ]; +if [ $OUT -ne 0 ]; then echo "test9: test1b/subdir not empty" exit 2 @@ -402,7 +402,7 @@ check_tmpout "0 conflicts" "test10: wrong conflicts counter" OUT=`ls tmp-sync/test1b/ | wc -l` -if [ $OUT != "0" ]; then +if [ $OUT -ne 0 ]; then echo "test1b not empty" exit 2 fi