diff options
author | Raimo Niskanen <[email protected]> | 2016-07-29 15:53:52 +0200 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2016-07-29 15:53:52 +0200 |
commit | d263c4ed701785693e3ffd819ef5e4f07fadb8ff (patch) | |
tree | 65c301b3f32d4615354777cbf13ed8d70dbe3ad7 /lib/inets/test/inets_sup_SUITE.erl | |
parent | 7b69120ae116cf4d0e1e68775f5ba474c6b69f77 (diff) | |
download | otp-d263c4ed701785693e3ffd819ef5e4f07fadb8ff.tar.gz otp-d263c4ed701785693e3ffd819ef5e4f07fadb8ff.tar.bz2 otp-d263c4ed701785693e3ffd819ef5e4f07fadb8ff.zip |
Fix inets_sup_SUITE for local tests
Diffstat (limited to 'lib/inets/test/inets_sup_SUITE.erl')
-rw-r--r-- | lib/inets/test/inets_sup_SUITE.erl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/inets/test/inets_sup_SUITE.erl b/lib/inets/test/inets_sup_SUITE.erl index cf7aa78ff3..a88414d6b1 100644 --- a/lib/inets/test/inets_sup_SUITE.erl +++ b/lib/inets/test/inets_sup_SUITE.erl @@ -52,9 +52,9 @@ end_per_suite(_) -> inets:stop(), ok. -init_per_testcase(httpd_config, Config) -> +init_per_testcase(httpd_config = TC, Config) -> PrivDir = proplists:get_value(priv_dir, Config), - Dir = filename:join(PrivDir, "root"), + Dir = filename:join(PrivDir, TC), ok = file:make_dir(Dir), FallbackConfig = [{port, 0}, @@ -75,9 +75,9 @@ init_per_testcase(httpd_config, Config) -> exit({failed_starting_inets, Reason}) end; -init_per_testcase(httpd_subtree, Config) -> +init_per_testcase(httpd_subtree = TC, Config) -> PrivDir = proplists:get_value(priv_dir, Config), - Dir = filename:join(PrivDir, "root"), + Dir = filename:join(PrivDir, TC), ok = file:make_dir(Dir), SimpleConfig = [{port, 0}, @@ -98,9 +98,9 @@ init_per_testcase(httpd_subtree, Config) -> exit({failed_starting_inets, Reason}) end; -init_per_testcase(httpd_subtree_profile, Config) -> +init_per_testcase(httpd_subtree_profile = TC, Config) -> PrivDir = proplists:get_value(priv_dir, Config), - Dir = filename:join(PrivDir, "root"), + Dir = filename:join(PrivDir, TC), ok = file:make_dir(Dir), SimpleConfig = [{port, 0}, |