mirror of https://github.com/restic/restic.git
Merge pull request #2605 from middelink/fix-2604
Fix running tests on a SELinux enabled system
This commit is contained in:
commit
52abec967f
|
@ -2071,7 +2071,9 @@ func TestMetadataChanged(t *testing.T) {
|
|||
// set some values so we can then compare the nodes
|
||||
want.Content = node2.Content
|
||||
want.Path = ""
|
||||
want.ExtendedAttributes = nil
|
||||
if len(want.ExtendedAttributes) == 0 {
|
||||
want.ExtendedAttributes = nil
|
||||
}
|
||||
|
||||
want.AccessTime = want.ModTime
|
||||
|
||||
|
|
Loading…
Reference in New Issue