aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/test
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2012-10-10 12:20:28 +0200
committerBjörn Gustavsson <[email protected]>2012-10-11 11:49:03 +0200
commit0cb49a6c8250a56f50c5cfb453cb52d69069217c (patch)
tree1f9479aed9ce28883210406d1eaaf5ed0941f35d /lib/common_test/test
parent9be3f70fb888f9dae778fb10e5a8658526e43583 (diff)
downloadotp-0cb49a6c8250a56f50c5cfb453cb52d69069217c.tar.gz
otp-0cb49a6c8250a56f50c5cfb453cb52d69069217c.tar.bz2
otp-0cb49a6c8250a56f50c5cfb453cb52d69069217c.zip
common_test: Make ct_system_error_SUITE portable to Windows
On Windows, the log files are not placed under priv_dir, so we will have to retrieve the path using ct_test_support (which works fine on all platforms).
Diffstat (limited to 'lib/common_test/test')
-rw-r--r--lib/common_test/test/ct_system_error_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/test/ct_system_error_SUITE.erl b/lib/common_test/test/ct_system_error_SUITE.erl
index f00f470c33..f2d6ef4b1b 100644
--- a/lib/common_test/test/ct_system_error_SUITE.erl
+++ b/lib/common_test/test/ct_system_error_SUITE.erl
@@ -87,7 +87,7 @@ test_server_failing_logs(Config) ->
crash_test_server(Config) ->
DataDir = ?config(data_dir, Config),
- Root = ?config(priv_dir, Config),
+ Root = proplists:get_value(logdir, ct_test_support:get_opts(Config)),
[$@|Host] = lists:dropwhile(fun(C) ->
C =/= $@
end, atom_to_list(node())),