summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/wait.cc
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@google.com>2019-04-29 11:32:48 -0700
committerShentubot <shentubot@google.com>2019-04-29 11:34:16 -0700
commitac8fca1ef44ee5ceb1fa454d52f41178a4d66f79 (patch)
tree7f8f9582ccb73759eedf753f6d17f289b47847ac /test/syscalls/linux/wait.cc
parent2df64cd6d2c835ce5b37a8b9111d24ad382b5d3d (diff)
Appease googletest deprecation
PiperOrigin-RevId: 245788366 Change-Id: I17bbecf8493132dbe95564c34c45b838194bfabb
Diffstat (limited to 'test/syscalls/linux/wait.cc')
-rw-r--r--test/syscalls/linux/wait.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/syscalls/linux/wait.cc b/test/syscalls/linux/wait.cc
index d1a4237d2..cfab8a976 100644
--- a/test/syscalls/linux/wait.cc
+++ b/test/syscalls/linux/wait.cc
@@ -309,7 +309,7 @@ TEST_P(WaitAnyChildTest, IgnoredChildRusage) {
EXPECT_EQ(before.ru_stime.tv_usec, after.ru_stime.tv_usec);
}
-INSTANTIATE_TEST_CASE_P(
+INSTANTIATE_TEST_SUITE_P(
Waiters, WaitAnyChildTest,
::testing::Values(
[](int code, int options) -> PosixErrorOr<pid_t> {
@@ -551,7 +551,7 @@ TEST_P(WaitSpecificChildTest, AfterChildExecve) {
EXPECT_NO_ERRNO(WaitFor(child, 0));
}
-INSTANTIATE_TEST_CASE_P(
+INSTANTIATE_TEST_SUITE_P(
Waiters, WaitSpecificChildTest,
::testing::Values(
[](pid_t pid, int code) -> PosixError {