summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/getdents.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/syscalls/linux/getdents.cc')
-rw-r--r--test/syscalls/linux/getdents.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/syscalls/linux/getdents.cc b/test/syscalls/linux/getdents.cc
index 526925599..e8a7bcd43 100644
--- a/test/syscalls/linux/getdents.cc
+++ b/test/syscalls/linux/getdents.cc
@@ -224,8 +224,8 @@ class GetdentsTest : public ::testing::Test {
FileDescriptor fd_;
};
-// GUnit TYPED_TEST_CASE does not allow multiple template parameters, so we
-// must use explicit template specialization to set the syscall number.
+// Multiple template parameters are not allowed, so we must use explicit
+// template specialization to set the syscall number.
template <>
int GetdentsTest<struct linux_dirent>::SyscallNum() {
return SYS_getdents;
@@ -239,7 +239,7 @@ int GetdentsTest<struct linux_dirent64>::SyscallNum() {
// Test both legacy getdents and getdents64.
typedef ::testing::Types<struct linux_dirent, struct linux_dirent64>
GetdentsTypes;
-TYPED_TEST_CASE(GetdentsTest, GetdentsTypes);
+TYPED_TEST_SUITE(GetdentsTest, GetdentsTypes);
// N.B. TYPED_TESTs require explicitly using this-> to access members of
// GetdentsTest, since we are inside of a derived class template.