]> arthur.barton.de Git - bup.git/commit
Don't pass -AX to rsync in t/compare-trees if xattrs aren't supported.
authorRob Browning <rlb@defaultvalue.org>
Tue, 11 Sep 2012 00:36:18 +0000 (19:36 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sun, 27 Jan 2013 22:29:45 +0000 (16:29 -0600)
commit7a1c342400d1eabe00bc1ba00eafd64080d21d72
treee70b8de38a682e02f980eaaaf06efceb381f733d
parent637bf18323c031f97883bd83fbdb9c8a8228f65d
Don't pass -AX to rsync in t/compare-trees if xattrs aren't supported.

The -AX options won't be available if rsync doesn't report the xattr
capability, so test for that before trying to use them.

Thanks to Yung-Chin Oei <yungchin@yungchin.nl> for the suggested
approach and initial report.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Reviewed-by: Zoran Zaric <zz@zoranzaric.de>
t/compare-trees