aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/test/ct_error_SUITE.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2015-03-03 23:43:30 +0100
committerPeter Andersson <[email protected]>2015-03-18 12:01:03 +0100
commitf1a5f5ac353513c6e50c8b9cd6f95f3de760c582 (patch)
tree51c7245f28bbf6045cf4c417f5e4339edcc7fb2a /lib/common_test/test/ct_error_SUITE.erl
parent5051733044e526c2ca2122bb6012620cb47d1a29 (diff)
downloadotp-f1a5f5ac353513c6e50c8b9cd6f95f3de760c582.tar.gz
otp-f1a5f5ac353513c6e50c8b9cd6f95f3de760c582.tar.bz2
otp-f1a5f5ac353513c6e50c8b9cd6f95f3de760c582.zip
Always report ok to event handlers after successful cfg or tc func
Also make sure test_server never reports failures that can be mistaken for positive results.
Diffstat (limited to 'lib/common_test/test/ct_error_SUITE.erl')
-rw-r--r--lib/common_test/test/ct_error_SUITE.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/common_test/test/ct_error_SUITE.erl b/lib/common_test/test/ct_error_SUITE.erl
index ecf231529a..8464225284 100644
--- a/lib/common_test/test/ct_error_SUITE.erl
+++ b/lib/common_test/test/ct_error_SUITE.erl
@@ -1466,7 +1466,8 @@ test_events(misc_errors) ->
{failed,{error,{suite_failed,this_is_expected}}}}},
{?eh,test_stats,{0,5,{0,0}}},
{?eh,tc_start,{misc_error_1_SUITE,killed_by_signal_1}},
- {?eh,tc_done,{misc_error_1_SUITE,killed_by_signal_1,i_die_now}},
+ {?eh,tc_done,{misc_error_1_SUITE,killed_by_signal_1,
+ {failed,{'EXIT',i_die_now}}}},
{?eh,test_stats,{0,6,{0,0}}},
{?eh,tc_start,{misc_error_1_SUITE,killed_by_signal_2}},
{?eh,tc_done,{misc_error_1_SUITE,killed_by_signal_2,