aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/ct_hooks.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2013-08-23 15:18:22 +0200
committerPeter Andersson <[email protected]>2013-09-02 12:14:01 +0200
commita5c108b7eed9badc3b0ea0b4bad3af4bf36bc55b (patch)
treed7649e79683998dd043e19422583e916da7a56ef /lib/common_test/src/ct_hooks.erl
parent614ba49d9ff9c75466bc3bba5b25a2e583e09217 (diff)
downloadotp-a5c108b7eed9badc3b0ea0b4bad3af4bf36bc55b.tar.gz
otp-a5c108b7eed9badc3b0ea0b4bad3af4bf36bc55b.tar.bz2
otp-a5c108b7eed9badc3b0ea0b4bad3af4bf36bc55b.zip
Fix problem with start order of hooks and stopping of ct_util_server
Diffstat (limited to 'lib/common_test/src/ct_hooks.erl')
-rw-r--r--lib/common_test/src/ct_hooks.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/src/ct_hooks.erl b/lib/common_test/src/ct_hooks.erl
index 3d87a82e24..b492663c57 100644
--- a/lib/common_test/src/ct_hooks.erl
+++ b/lib/common_test/src/ct_hooks.erl
@@ -50,7 +50,7 @@
-spec init(State :: term()) -> ok |
{fail, Reason :: term()}.
init(Opts) ->
- call(get_new_hooks(Opts, undefined) ++ get_builtin_hooks(Opts),
+ call(get_builtin_hooks(Opts) ++ get_new_hooks(Opts, undefined),
ok, init, []).