When the metadata object has no Linux attr, there won't be an attr
related failure, so don't look for it.
Thanks to Alexander Barton <alex@barton.de> and Mark J Hewitt
<mjh@idnet.com> for reporting and helping track down the problem.
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
m.apply_to_path(path)
print >> sys.stderr, helpers.saved_errors
expected_errors = ['utime: ']
- if _linux_attr_supported(tmpdir):
+ if m.linux_attr and _linux_attr_supported(tmpdir):
expected_errors.append('Linux chattr: ')
if _linux_xattr_supported(tmpdir):
expected_errors.append('xattr.set: ')