2
2
mirror of https://github.com/octoleo/restic.git synced 2024-05-31 08:00:48 +00:00

Merge pull request #2832 from alrs/fix-fuse-test-err

internal/fuse: fix dropped test error
This commit is contained in:
MichaelEischer 2020-07-16 22:28:20 +02:00 committed by GitHub
commit 7dc200c593
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -220,6 +220,7 @@ func testTopUidGid(t *testing.T, cfg Config, repo restic.Repository, uid, gid ui
snapID := loadFirstSnapshot(t, repo).ID().Str()
snapshotdir, err := idsdir.(fs.NodeStringLookuper).Lookup(ctx, snapID)
rtest.OK(t, err)
err = snapshotdir.Attr(ctx, &attr)
rtest.OK(t, err)