aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2019-03-26 12:07:45 +0100
committerSiri Hansen <[email protected]>2019-04-15 11:23:18 +0200
commit54e599a8be99fe41b45c913b59277dd6e3189e27 (patch)
tree20bcbe0e939c7f6c3117f9f728469ee5eb59e60d
parent3d087911ef3ecd769333b822c337bbbb76877871 (diff)
downloadotp-54e599a8be99fe41b45c913b59277dd6e3189e27.tar.gz
otp-54e599a8be99fe41b45c913b59277dd6e3189e27.tar.bz2
otp-54e599a8be99fe41b45c913b59277dd6e3189e27.zip
[ct] Fix bug with faulty suite name in end_per_suite config
-rw-r--r--lib/common_test/src/test_server_ctrl.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/src/test_server_ctrl.erl b/lib/common_test/src/test_server_ctrl.erl
index bf51bae5f5..c075aad32d 100644
--- a/lib/common_test/src/test_server_ctrl.erl
+++ b/lib/common_test/src/test_server_ctrl.erl
@@ -2147,7 +2147,7 @@ do_add_init_and_end_per_suite(LastMod, LastRef, Mod, FwMod) ->
%% let's call a "fake" end_per_suite if it exists
case erlang:function_exported(FwMod, end_per_suite, 1) of
true ->
- [{conf,LastRef,[{suite,Mod}],
+ [{conf,LastRef,[{suite,LastMod}],
{FwMod,end_per_suite}}|Init];
false ->
[{conf,LastRef,[],{LastMod,end_per_suite}}|Init]