aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/test/mnesia_test_lib.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2012-07-17 18:19:32 +0200
committerBjörn-Egil Dahlberg <[email protected]>2012-07-19 20:22:55 +0200
commit989c303ae86f97eae87e1de493b9a3d912994fc2 (patch)
tree1c6032d355d8bc14ab6611a3017c7b16a67d4953 /lib/mnesia/test/mnesia_test_lib.erl
parente4aaaab0d2695a1b92987cd1e509bdcadbec9732 (diff)
downloadotp-989c303ae86f97eae87e1de493b9a3d912994fc2.tar.gz
otp-989c303ae86f97eae87e1de493b9a3d912994fc2.tar.bz2
otp-989c303ae86f97eae87e1de493b9a3d912994fc2.zip
mnesia: Remove VxWorks
Diffstat (limited to 'lib/mnesia/test/mnesia_test_lib.erl')
-rw-r--r--lib/mnesia/test/mnesia_test_lib.erl16
1 files changed, 2 insertions, 14 deletions
diff --git a/lib/mnesia/test/mnesia_test_lib.erl b/lib/mnesia/test/mnesia_test_lib.erl
index ba5bf84e24..57cbc61495 100644
--- a/lib/mnesia/test/mnesia_test_lib.erl
+++ b/lib/mnesia/test/mnesia_test_lib.erl
@@ -272,25 +272,13 @@ slave_start_link(Host, Name, Retries) ->
end.
starter(Host, Name, Args) ->
- case os:type() of
- vxworks ->
- X = test_server:start_node(Name, slave, [{args,Args}]),
- timer:sleep(5000),
- X;
- _ ->
- slave:start(Host, Name, Args)
- end.
+ slave:start(Host, Name, Args).
slave_sup() ->
process_flag(trap_exit, true),
receive
{'EXIT', _, _} ->
- case os:type() of
- vxworks ->
- erlang:halt();
- _ ->
- ignore
- end
+ ignore
end.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%