diff options
author | Peter Andersson <[email protected]> | 2011-04-08 16:26:39 +0200 |
---|---|---|
committer | Peter Andersson <[email protected]> | 2011-04-20 22:32:38 +0200 |
commit | 34208aa4201b169249c03a188afb5076dc4804a2 (patch) | |
tree | 5435fc965eb40e9898bef1ff28aefc1ada265cba /lib/common_test/src/ct_framework.erl | |
parent | 1b51729df1a5c9678beb73318b8cf2a12b0e145d (diff) | |
download | otp-34208aa4201b169249c03a188afb5076dc4804a2.tar.gz otp-34208aa4201b169249c03a188afb5076dc4804a2.tar.bz2 otp-34208aa4201b169249c03a188afb5076dc4804a2.zip |
Fix problem with CT hook start error causing IO to be sent to wrong group leader process.
Diffstat (limited to 'lib/common_test/src/ct_framework.erl')
-rw-r--r-- | lib/common_test/src/ct_framework.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/common_test/src/ct_framework.erl b/lib/common_test/src/ct_framework.erl index 3d4f674160..8fd4fd6339 100644 --- a/lib/common_test/src/ct_framework.erl +++ b/lib/common_test/src/ct_framework.erl @@ -493,9 +493,9 @@ end_tc(Mod,Func,TCPid,Result,Args,Return) -> case ct_hooks:end_tc( Mod, FuncSpec, Args, Result, Return) of '$ct_no_change' -> - {FinalResult = ok,Result}; - FinalResult -> - {FinalResult,FinalResult} + {ok,Result}; + FinalResult1 -> + {FinalResult1,FinalResult1} end, % send sync notification so that event handlers may print % in the log file before it gets closed |