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:
parent
5ff780891e
commit
0e96fcafd4
|
@ -155,7 +155,7 @@ TEST(Syscall32Bit, Syscall) {
|
||||||
case PlatformSupport::Ignored:
|
case PlatformSupport::Ignored:
|
||||||
// See above.
|
// See above.
|
||||||
EXPECT_EXIT(ExitGroup32(kSyscall, kExitCode),
|
EXPECT_EXIT(ExitGroup32(kSyscall, kExitCode),
|
||||||
::testing::KilledBySignal(SIGILL), "");
|
::testing::KilledBySignal(SIGSEGV), "");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case PlatformSupport::Allowed:
|
case PlatformSupport::Allowed:
|
||||||
|
|
Loading…
Reference in New Issue