Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
zhijian-pro committed Jan 5, 2024
1 parent 2871298 commit 8ae7c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/meta/base_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ func testMetaClient(t *testing.T, m Meta) {
if st := m.SetXattr(ctx, inode, "a", []byte("v4"), XattrReplace); st != 0 {
t.Fatalf("setxattr: %s", st)
}
if st := m.SetXattr(ctx, inode, "a", []byte("v5"), 5); st != 0 { // unknown flag is ignored
if st := m.SetXattr(ctx, inode, "a", []byte("v5"), 5); st != syscall.EINVAL { // unknown flag is ignored
t.Fatalf("setxattr: %s", st)
}

Expand Down

0 comments on commit 8ae7c2d

Please sign in to comment.