mirror of
https://github.com/octoleo/restic.git
synced 2024-12-25 12:09:59 +00:00
Merge pull request #2373 from vrusinov/issue-2372
Ignore username difference in TestMetadataChanged
This commit is contained in:
commit
d70a4a9350
@ -2087,6 +2087,10 @@ func TestMetadataChanged(t *testing.T) {
|
||||
|
||||
// make another snapshot
|
||||
snapshotID, node3 := snapshot(t, repo, fs, snapshotID, "testfile")
|
||||
// Override username and group to empty string - in case underlying system has user with UID 51234
|
||||
// See https://github.com/restic/restic/issues/2372
|
||||
node3.User = ""
|
||||
node3.Group = ""
|
||||
|
||||
// make sure that metadata was recorded successfully
|
||||
if !cmp.Equal(want, node3) {
|
||||
|
Loading…
Reference in New Issue
Block a user