aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/alloc_SUITE.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-04-07 19:25:47 +0200
committerBjörn-Egil Dahlberg <[email protected]>2016-04-08 14:53:37 +0200
commita9dfa8abdec770880d61cc694b52ce2efca11fd2 (patch)
treeb355f65e020d88704c9ff8c3d632ddf527065a6e /erts/emulator/test/alloc_SUITE.erl
parent27217260c7ac21d4e81d7758a43b27ff8ed7cdf0 (diff)
downloadotp-a9dfa8abdec770880d61cc694b52ce2efca11fd2.tar.gz
otp-a9dfa8abdec770880d61cc694b52ce2efca11fd2.tar.bz2
otp-a9dfa8abdec770880d61cc694b52ce2efca11fd2.zip
Replace test_server:os_type/0 with os:type/0
Diffstat (limited to 'erts/emulator/test/alloc_SUITE.erl')
-rw-r--r--erts/emulator/test/alloc_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/test/alloc_SUITE.erl b/erts/emulator/test/alloc_SUITE.erl
index 1f690c5015..82f2849278 100644
--- a/erts/emulator/test/alloc_SUITE.erl
+++ b/erts/emulator/test/alloc_SUITE.erl
@@ -81,7 +81,7 @@ migration(Cfg) ->
end.
erts_mmap(Config) when is_list(Config) ->
- case test_server:os_type() of
+ case os:type() of
{unix, _} ->
[erts_mmap_do(Config, SCO, SCRPM, SCRFSD)
|| SCO <-[true,false], SCRFSD <-[1234,0], SCRPM <- [true,false]];
@@ -144,7 +144,7 @@ drv_case(Config) ->
drv_case(Config, one_shot, "").
drv_case(Config, Mode, NodeOpts) when is_list(Config) ->
- case test_server:os_type() of
+ case os:type() of
{Family, _} when Family == unix; Family == win32 ->
{ok, Node} = start_node(Config, NodeOpts),
Self = self(),