Fix test case on AMD.

When ignored, the trap should be executed which generates
a SIGSEGV as in the above case.

PiperOrigin-RevId: 293618489
This commit is contained in:
Adin Scannell 2020-02-06 10:11:15 -08:00 committed by gVisor bot
parent 5ff780891e
commit 0e96fcafd4
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ TEST(Syscall32Bit, Syscall) {
case PlatformSupport::Ignored:
// See above.
EXPECT_EXIT(ExitGroup32(kSyscall, kExitCode),
::testing::KilledBySignal(SIGILL), "");
::testing::KilledBySignal(SIGSEGV), "");
break;
case PlatformSupport::Allowed: