Fix statfs test for opensource.

PiperOrigin-RevId: 329638946
This commit is contained in:
Zach Koopmans 2020-09-01 21:01:33 -07:00 committed by gVisor bot
parent 37a217aca4
commit 563f28b7d5
1 changed files with 0 additions and 3 deletions

View File

@ -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) {