aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/test/code_SUITE.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2010-12-14 16:13:06 +0100
committerLukas Larsson <[email protected]>2011-02-17 17:34:50 +0100
commit9037c4a828e699d5d3bba423d82db93cddf3d079 (patch)
tree260ad6ee25555232d9f6f241174099a91aed2723 /lib/kernel/test/code_SUITE.erl
parent892b9be5e72daeefd4af514f4c79d0b4c1863479 (diff)
downloadotp-9037c4a828e699d5d3bba423d82db93cddf3d079.tar.gz
otp-9037c4a828e699d5d3bba423d82db93cddf3d079.tar.bz2
otp-9037c4a828e699d5d3bba423d82db93cddf3d079.zip
Fix formatting for kernel
Diffstat (limited to 'lib/kernel/test/code_SUITE.erl')
-rw-r--r--lib/kernel/test/code_SUITE.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/kernel/test/code_SUITE.erl b/lib/kernel/test/code_SUITE.erl
index 90b8a6a0d6..64c2878f9e 100644
--- a/lib/kernel/test/code_SUITE.erl
+++ b/lib/kernel/test/code_SUITE.erl
@@ -87,9 +87,10 @@ init_per_testcase(_Func, Config) ->
P=code:get_path(),
[{watchdog, Dog}, {code_path, P}|Config].
-end_per_testcase(mult_lib_roots, Config) ->
+end_per_testcase(TC, Config) when TC == mult_lib_roots;
+ TC == big_boot_embedded ->
{ok, HostName} = inet:gethostname(),
- NodeName = list_to_atom("mult_lib_roots@"++HostName),
+ NodeName = list_to_atom(atom_to_list(TC)++"@"++HostName),
?t:stop_node(NodeName),
end_per_testcase(Config);
end_per_testcase(_Func, Config) ->