aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/test/gen_udp_SUITE.erl
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2018-09-18 15:06:44 +0200
committerRaimo Niskanen <[email protected]>2018-09-19 14:52:09 +0200
commit2ad4b8f65e07423dd3cf230cecae635189b6f437 (patch)
tree19b7f9ac2e400410e1d33c4868accc61acd6b0c0 /lib/kernel/test/gen_udp_SUITE.erl
parentabb972b03acf948255f1026442758adfba44baa1 (diff)
downloadotp-2ad4b8f65e07423dd3cf230cecae635189b6f437.tar.gz
otp-2ad4b8f65e07423dd3cf230cecae635189b6f437.tar.bz2
otp-2ad4b8f65e07423dd3cf230cecae635189b6f437.zip
Improve platform filter
Diffstat (limited to 'lib/kernel/test/gen_udp_SUITE.erl')
-rw-r--r--lib/kernel/test/gen_udp_SUITE.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/kernel/test/gen_udp_SUITE.erl b/lib/kernel/test/gen_udp_SUITE.erl
index 878e48786c..af9985de45 100644
--- a/lib/kernel/test/gen_udp_SUITE.erl
+++ b/lib/kernel/test/gen_udp_SUITE.erl
@@ -616,13 +616,14 @@ recvtclass(_Config) ->
%% when machines with newer versions gets installed...
%% If the test still fails for a plausible reason these
%% version numbers simply should be increased.
+%% Or maybe we should change to only test on known good platforms?
%% Using the option returns einval, so it is not implemented.
recvtos_ok({unix,darwin}, OSVer) -> not semver_lt(OSVer, {17,6,0});
%% Using the option returns einval, so it is not implemented.
recvtos_ok({unix,openbsd}, OSVer) -> not semver_lt(OSVer, {6,4,0});
%% Using the option returns einval, so it is not implemented.
-recvtos_ok({unix,sunos}, OSVer) -> not semver_lt(OSVer, {5,11,0});
+recvtos_ok({unix,sunos}, OSVer) -> not semver_lt(OSVer, {5,12,0});
%%
recvtos_ok({unix,_}, _) -> true;
recvtos_ok(_, _) -> false.