summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathon Reinhart <Jonathon.Reinhart@gmail.com>2015-09-08 19:18:48 -0400
committerAndreas Schneider <asn@cryptomilk.org>2015-09-14 18:17:10 +0200
commit2535a154fe4210999f813e0f5d8778f833ea8165 (patch)
tree05d223c9dcba9cc59d7981a4f817ebd5bf0ab6c1
parentfd4b80d4504563f8b4d4f518b3122d17a669d1ed (diff)
downloadcmocka-2535a154fe4210999f813e0f5d8778f833ea8165.tar.gz
cmocka-2535a154fe4210999f813e0f5d8778f833ea8165.tar.bz2
cmocka-2535a154fe4210999f813e0f5d8778f833ea8165.zip
test: update test_segfault_recovery to try multiple faults
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r--tests/test_exception_handler.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_exception_handler.c b/tests/test_exception_handler.c
index 94c6842..3f7c181 100644
--- a/tests/test_exception_handler.c
+++ b/tests/test_exception_handler.c
@@ -22,6 +22,8 @@ static void test_segfault_recovery(void **state)
int main(void) {
const struct CMUnitTest tests[] = {
cmocka_unit_test(test_segfault_recovery),
+ cmocka_unit_test(test_segfault_recovery),
+ cmocka_unit_test(test_segfault_recovery),
};
return cmocka_run_group_tests(tests, NULL, NULL);