]> arthur.barton.de Git - bup.git/blobdiff - t/compare-trees
t/compare-trees: don't check ACLs on Cygwin (no support).
[bup.git] / t / compare-trees
index 32edcde2b2d39f4d009d4936b6b672ffb16b0b2a..80b056a1cdc8b73009c9cff434867bd4a99056ae 100755 (executable)
@@ -48,7 +48,12 @@ trap "rm -rf '${tmpfile}'" EXIT
 rsync_opts="-niaH$verify_content --delete"
 
 if rsync --version | grep -q xattrs; then
-    rsync_opts="$rsync_opts -AX"
+    if [[ $(uname) =~ CYGWIN ]]; then
+        # bup doesn't support ACLs on Cygwin yet.
+        rsync_opts="$rsync_opts -X"
+    else
+        rsync_opts="$rsync_opts -AX"
+    fi
 else
     echo "Not comparing xattrs/acls (unsupported by available rsync)." 1>&2
 fi