commit | b2da45625353336452112e28872310903dc70a8f | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Sep 22 22:50:10 2014 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Sep 22 22:50:11 2014 +0000 |
tree | 1b52cdc1bf7871ddda9488f1c9a2b47a55d3eff5 | |
parent | d9cb0ed281f0301ec2ca6828f0acc1ed08dceb8a [diff] | |
parent | a186b2e0ca19620a52b4a49c17835532d13eb30a [diff] |
Merge "Clean up fpathconf(3)/pathconf(3)."
diff --git a/tests/unistd_test.cpp b/tests/unistd_test.cpp index 8195ea8..21c14f4 100644 --- a/tests/unistd_test.cpp +++ b/tests/unistd_test.cpp
@@ -462,3 +462,8 @@ ASSERT_EQ(0, pthread_join(t, &result)); ASSERT_EQ(NULL, result); } + +TEST(unistd_DeathTest, abort) { + ::testing::FLAGS_gtest_death_test_style = "threadsafe"; + ASSERT_EXIT(abort(), testing::KilledBySignal(SIGABRT), ""); +}