summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2020-02-06 10:11:15 -0800
committergVisor bot <gvisor-bot@google.com>2020-02-06 10:12:16 -0800
commit0e96fcafd4404e1418c84b7830b9455867e174bb (patch)
tree7bf8d56d3014c97d13eae3dc9f90c6949a2cae27 /test/syscalls/linux
parent5ff780891e229dbde00d9a37c2f8b6681e592fdb (diff)
Fix test case on AMD.
When ignored, the trap should be executed which generates a SIGSEGV as in the above case. PiperOrigin-RevId: 293618489
Diffstat (limited to 'test/syscalls/linux')
-rw-r--r--test/syscalls/linux/32bit.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/syscalls/linux/32bit.cc b/test/syscalls/linux/32bit.cc
index 9883aef61..c47a05181 100644
--- a/test/syscalls/linux/32bit.cc
+++ b/test/syscalls/linux/32bit.cc
@@ -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: