diff options
Diffstat (limited to 'test/syscalls/linux/msync.cc')
-rw-r--r-- | test/syscalls/linux/msync.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/syscalls/linux/msync.cc b/test/syscalls/linux/msync.cc index 72d90dc78..5afbfce72 100644 --- a/test/syscalls/linux/msync.cc +++ b/test/syscalls/linux/msync.cc @@ -93,9 +93,9 @@ TEST_P(MsyncNoMappingTest, UnmappedAddressWithNonzeroLengthFails) { SyscallFailsWithErrno(ENOMEM)); } -INSTANTIATE_TEST_CASE_P(All, MsyncNoMappingTest, - ::testing::Combine(::testing::ValuesIn(kMsyncFlags), - ::testing::Values(NoMappings))); +INSTANTIATE_TEST_SUITE_P(All, MsyncNoMappingTest, + ::testing::Combine(::testing::ValuesIn(kMsyncFlags), + ::testing::Values(NoMappings))); // "Fixture" for msync tests that are not parameterized by msync flags, but do // create mappings. @@ -107,7 +107,7 @@ TEST_P(MsyncNoFlagsTest, BothSyncAndAsyncFails) { SyscallFailsWithErrno(EINVAL)); } -INSTANTIATE_TEST_CASE_P( +INSTANTIATE_TEST_SUITE_P( All, MsyncNoFlagsTest, ::testing::Combine(::testing::Values(0), // ignored ::testing::ValuesIn(SyncableMappings()))); @@ -142,7 +142,7 @@ TEST_P(MsyncFullParamTest, InvalidateUnlockedSucceeds) { // The test for MS_INVALIDATE on mlocked pages is in mlock.cc since it requires // probing for mlock support. -INSTANTIATE_TEST_CASE_P( +INSTANTIATE_TEST_SUITE_P( All, MsyncFullParamTest, ::testing::Combine(::testing::ValuesIn(kMsyncFlags), ::testing::ValuesIn(SyncableMappings()))); |