Merge pull request #2605 from middelink/fix-2604
Fix running tests on a SELinux enabled system
This commit is contained in:
commit
52abec967f
1 changed files with 3 additions and 1 deletions
|
@ -2071,7 +2071,9 @@ func TestMetadataChanged(t *testing.T) {
|
||||||
// set some values so we can then compare the nodes
|
// set some values so we can then compare the nodes
|
||||||
want.Content = node2.Content
|
want.Content = node2.Content
|
||||||
want.Path = ""
|
want.Path = ""
|
||||||
|
if len(want.ExtendedAttributes) == 0 {
|
||||||
want.ExtendedAttributes = nil
|
want.ExtendedAttributes = nil
|
||||||
|
}
|
||||||
|
|
||||||
want.AccessTime = want.ModTime
|
want.AccessTime = want.ModTime
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue