aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/scheduler_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/scheduler_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/scheduler_SUITE.erl')
-rw-r--r--erts/emulator/test/scheduler_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/test/scheduler_SUITE.erl b/erts/emulator/test/scheduler_SUITE.erl
index 20e473d327..0b4b302908 100644
--- a/erts/emulator/test/scheduler_SUITE.erl
+++ b/erts/emulator/test/scheduler_SUITE.erl
@@ -876,7 +876,7 @@ get_affinity_mask(_Port, _Status, Affinity) ->
Affinity.
get_affinity_mask() ->
- case test_server:os_type() of
+ case os:type() of
{unix, linux} ->
case catch open_port({spawn, "taskset -p " ++ os:getpid()},
[exit_status]) of