aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_server/src/test_server.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2016-03-01 16:46:35 +0100
committerSiri Hansen <[email protected]>2016-03-01 16:51:30 +0100
commit51349126632b3ce589f217abe5dcfb7b1e47faa1 (patch)
tree6a1a285d7b45f44525367483918cc8dcf570440c /lib/test_server/src/test_server.erl
parent6f8997c001a17b9d9322e26757690489d6111dac (diff)
downloadotp-51349126632b3ce589f217abe5dcfb7b1e47faa1.tar.gz
otp-51349126632b3ce589f217abe5dcfb7b1e47faa1.tar.bz2
otp-51349126632b3ce589f217abe5dcfb7b1e47faa1.zip
Set dir for slave node's erl_crash.dump
This was earlier filename:dirname(code:which(test_server)). On Microsoft Windows, this pointed to a directory under c:/Program Files, and in later versions this directory is no longer writable. The framework (common_test) log dir is now used instead.
Diffstat (limited to 'lib/test_server/src/test_server.erl')
-rw-r--r--lib/test_server/src/test_server.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/test_server/src/test_server.erl b/lib/test_server/src/test_server.erl
index 73803030a3..671674c617 100644
--- a/lib/test_server/src/test_server.erl
+++ b/lib/test_server/src/test_server.erl
@@ -63,13 +63,11 @@
init_target_info() ->
[$.|Emu] = code:objfile_extension(),
{_, OTPRel} = init:script_id(),
- TestServerDir = filename:absname(filename:dirname(code:which(?MODULE))),
#target_info{os_family=test_server_sup:get_os_family(),
os_type=os:type(),
version=erlang:system_info(version),
system_version=erlang:system_info(system_version),
root_dir=code:root_dir(),
- test_server_dir=TestServerDir,
emulator=Emu,
otp_release=OTPRel,
username=test_server_sup:get_username(),