From 0dd267e5eb1e599f92bcd7f6225a85ad6d4d9a6c Mon Sep 17 00:00:00 2001 From: Siri Hansen Date: Fri, 8 Apr 2016 12:37:47 +0200 Subject: 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). --- lib/common_test/src/ct_release_test.erl | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib') 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]}, -- cgit v1.2.3