diff options
Diffstat (limited to 'test/syscalls/linux/statfs.cc')
-rw-r--r-- | test/syscalls/linux/statfs.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/syscalls/linux/statfs.cc b/test/syscalls/linux/statfs.cc index 1fc9758c9..e1e7fc707 100644 --- a/test/syscalls/linux/statfs.cc +++ b/test/syscalls/linux/statfs.cc @@ -49,6 +49,7 @@ TEST(StatfsTest, NameLen) { struct statfs st; EXPECT_THAT(statfs("/dev/shm", &st), SyscallSucceeds()); + // This assumes that /dev/shm is tmpfs. EXPECT_EQ(st.f_namelen, NAME_MAX); } |