diff options
author | Nick Kralevich <nnk@google.com> | 2013-06-11 15:45:23 -0700 |
---|---|---|
committer | Nick Kralevich <nnk@google.com> | 2013-06-11 15:45:23 -0700 |
commit | fd0325bd98764afaca1dc258960dde060b3c77de (patch) | |
tree | 680b49ff73daab4d3f469020eab1af50a3cf97eb /tests/stack_protector_test.cpp | |
parent | fc104f899d47916f76c91127caf9aeaf7b69d4ef (diff) |
fix unittests.
7e6ce1a3c52d8533fed92c143419fedb0c93988a fixed abort() to raise
SIGABRT rather than causing SIGSEGV. However, the unittests were
not updated.
Fix unittests.
Change-Id: I73db194127b9b9e9440358aa94273863765a736b
Diffstat (limited to 'tests/stack_protector_test.cpp')
-rw-r--r-- | tests/stack_protector_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stack_protector_test.cpp b/tests/stack_protector_test.cpp index 7946bbc6e..2ba8a87ce 100644 --- a/tests/stack_protector_test.cpp +++ b/tests/stack_protector_test.cpp @@ -119,7 +119,7 @@ static void do_modify_stack_chk_guard() { TEST(stack_protector_DeathTest, modify_stack_protector) { ::testing::FLAGS_gtest_death_test_style = "threadsafe"; - ASSERT_EXIT(do_modify_stack_chk_guard(), testing::KilledBySignal(SIGSEGV), ""); + ASSERT_EXIT(do_modify_stack_chk_guard(), testing::KilledBySignal(SIGABRT), ""); } #endif |