diff options
Diffstat (limited to 'test/syscalls/linux/chdir.cc')
-rw-r--r-- | test/syscalls/linux/chdir.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/test/syscalls/linux/chdir.cc b/test/syscalls/linux/chdir.cc index 4905ffb23..a4b54f0ee 100644 --- a/test/syscalls/linux/chdir.cc +++ b/test/syscalls/linux/chdir.cc @@ -54,11 +54,6 @@ TEST(ChdirTest, NotDir) { EXPECT_THAT(chdir(temp_file.path().c_str()), SyscallFailsWithErrno(ENOTDIR)); } -TEST(ChdirTest, NameTooLong) { - std::string name(NAME_MAX + 1, 'a'); - ASSERT_THAT(chdir(name.c_str()), SyscallFailsWithErrno(ENAMETOOLONG)); -} - TEST(ChdirTest, NotExist) { EXPECT_THAT(chdir("/foo/bar"), SyscallFailsWithErrno(ENOENT)); } |