mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Internal change.
PiperOrigin-RevId: 476156837
This commit is contained in:
@@ -122,6 +122,10 @@ TEST_F(MkdirTest, MkdirAtEmptyPath) {
|
||||
EXPECT_THAT(mkdirat(fd.get(), "", 0777), SyscallFailsWithErrno(ENOENT));
|
||||
}
|
||||
|
||||
TEST_F(MkdirTest, TrailingSlash) {
|
||||
ASSERT_THAT(mkdir((dirname_ + "/").c_str(), 0777), SyscallSucceeds());
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
} // namespace testing
|
||||
|
||||
Reference in New Issue
Block a user