From 4efada5eb70fe57be56eacd8157c808e213e4046 Mon Sep 17 00:00:00 2001 From: gVisor bot Date: Fri, 15 Apr 2022 16:09:31 -0700 Subject: [PATCH] Internal change. PiperOrigin-RevId: 442117196 --- test/syscalls/linux/pty.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/test/syscalls/linux/pty.cc b/test/syscalls/linux/pty.cc index 93e97674e..6aba0ae86 100644 --- a/test/syscalls/linux/pty.cc +++ b/test/syscalls/linux/pty.cc @@ -1653,6 +1653,7 @@ TEST_F(JobControlTest, SetForegroundProcessGroupSIGTTOUBackground) { int wstatus; TEST_PCHECK(waitpid(grandchild, &wstatus, WSTOPPED) == grandchild); TEST_PCHECK(WSTOPSIG(wstatus) == SIGTTOU); + EXPECT_THAT(kill(grandchild, SIGKILL), SyscallSucceeds()); }); ASSERT_NO_ERRNO(res); }