mirror of
https://github.com/ceph/ceph
synced 2025-03-25 11:48:05 +00:00
rgw_file unit tests: validate Unix owners in DIRS1
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
This commit is contained in:
parent
0b09e477a5
commit
1bd1ffda8d
@ -523,6 +523,9 @@ TEST(LibRGW, GETATTR_DIRS1)
|
||||
ASSERT_TRUE(sobj.rgw_fh->is_dir());
|
||||
ASSERT_TRUE(S_ISDIR(st.st_mode));
|
||||
}
|
||||
/* validate Unix owners */
|
||||
ASSERT_EQ(st.st_uid, owner_uid);
|
||||
ASSERT_EQ(st.st_gid, owner_gid);
|
||||
if (verbose) {
|
||||
obj_rec_st rec_st{sobj, st};
|
||||
std::cout << "\t"
|
||||
|
Loading…
Reference in New Issue
Block a user