Fix statfs test for opensource.
PiperOrigin-RevId: 329638946
This commit is contained in:
parent
37a217aca4
commit
563f28b7d5
|
@ -43,9 +43,6 @@ TEST(StatfsTest, InternalTmpfs) {
|
||||||
|
|
||||||
struct statfs st;
|
struct statfs st;
|
||||||
EXPECT_THAT(statfs(temp_file.path().c_str(), &st), SyscallSucceeds());
|
EXPECT_THAT(statfs(temp_file.path().c_str(), &st), SyscallSucceeds());
|
||||||
// Note: We could be an overlay or goferfs on some configurations.
|
|
||||||
EXPECT_TRUE(st.f_type == TMPFS_MAGIC || st.f_type == OVERLAYFS_SUPER_MAGIC ||
|
|
||||||
st.f_type == V9FS_MAGIC);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(StatfsTest, InternalDevShm) {
|
TEST(StatfsTest, InternalDevShm) {
|
||||||
|
|
Loading…
Reference in New Issue