aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/test/code_SUITE_data
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2010-12-01 15:11:07 +0100
committerPatrik Nyblom <[email protected]>2010-12-01 15:11:07 +0100
commit30ad8cfadba47123920128023cb06af6e0922746 (patch)
treeb03c402b9c33ce3c378d39a8bdd10c2f2a377e54 /lib/kernel/test/code_SUITE_data
parent9fbce40dcbda8d4e7888507d646bfee22bf7d311 (diff)
downloadotp-30ad8cfadba47123920128023cb06af6e0922746.tar.gz
otp-30ad8cfadba47123920128023cb06af6e0922746.tar.bz2
otp-30ad8cfadba47123920128023cb06af6e0922746.zip
Mend on_load_embedded testcase which did not handle windows links
Diffstat (limited to 'lib/kernel/test/code_SUITE_data')
-rw-r--r--lib/kernel/test/code_SUITE_data/on_load_app-1.0/src/on_load_embedded.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/test/code_SUITE_data/on_load_app-1.0/src/on_load_embedded.erl b/lib/kernel/test/code_SUITE_data/on_load_app-1.0/src/on_load_embedded.erl
index b7fdd4d9ae..646921026d 100644
--- a/lib/kernel/test/code_SUITE_data/on_load_app-1.0/src/on_load_embedded.erl
+++ b/lib/kernel/test/code_SUITE_data/on_load_app-1.0/src/on_load_embedded.erl
@@ -8,7 +8,7 @@ run_me() ->
LibDir = code:lib_dir(on_load_app),
PrivDir = code:priv_dir(on_load_app),
LibDir = filename:dirname(PrivDir),
- ModPath = code:which(?MODULE),
+ ModPath = filename:join(filename:split(code:which(?MODULE))),
LibDir = filename:dirname(filename:dirname(ModPath)),
%% Start a process to remember that the on_load was called.