aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2016-04-08 12:37:47 +0200
committerSiri Hansen <[email protected]>2016-04-08 12:37:47 +0200
commit0dd267e5eb1e599f92bcd7f6225a85ad6d4d9a6c (patch)
tree9847746640b85fc3d65522749286200fc377eaaa
parent2131f1e72cb5af0a9a31b36e64e2d38148ea91dd (diff)
downloadotp-0dd267e5eb1e599f92bcd7f6225a85ad6d4d9a6c.tar.gz
otp-0dd267e5eb1e599f92bcd7f6225a85ad6d4d9a6c.tar.bz2
otp-0dd267e5eb1e599f92bcd7f6225a85ad6d4d9a6c.zip
Don't add explicit path to ct_release_test
This module is now in common_test.app, so it will be included in the release which is upgraded from (and to).
-rw-r--r--lib/common_test/src/ct_release_test.erl4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/common_test/src/ct_release_test.erl b/lib/common_test/src/ct_release_test.erl
index 6c38f51363..6f01a80915 100644
--- a/lib/common_test/src/ct_release_test.erl
+++ b/lib/common_test/src/ct_release_test.erl
@@ -655,10 +655,6 @@ do_upgrade({Cb,InitState},FromVsn,FromAppsVsns,ToRel,ToAppsVsns,InstallDir) ->
Start = filename:join([InstallDir,bin,start]),
{ok,Node} = start_node(Start,FromVsn,FromAppsVsns),
- %% Add path to this module, to allow calls to get_appup/2
- Dir = filename:dirname(code:which(?MODULE)),
- _ = rpc:call(Node,code,add_pathz,[Dir]),
-
ct:log("Node started: ~p",[Node]),
CtData = #ct_data{from = [{A,V,code:lib_dir(A)} || {A,V} <- FromAppsVsns],
to=[{A,V,code:lib_dir(A)} || {A,V} <- ToAppsVsns]},