aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2019-05-17 17:36:26 +0200
committerMicael Karlberg <[email protected]>2019-05-29 13:47:40 +0200
commitfa4c61fe7eb34e6fdb2b1c77e6252a76577cb465 (patch)
tree2e67571795545c376626ba66e52aefc0afb9a8f5
parentb10770cbac5bd761270d6b1ec8ace99bd17ed707 (diff)
downloadotp-fa4c61fe7eb34e6fdb2b1c77e6252a76577cb465.tar.gz
otp-fa4c61fe7eb34e6fdb2b1c77e6252a76577cb465.tar.bz2
otp-fa4c61fe7eb34e6fdb2b1c77e6252a76577cb465.zip
[esock|test] Fixed host cond test
Incorrect host condition test for linux (the api timeout connect test cases). OTP-15822
-rw-r--r--erts/emulator/test/socket_SUITE.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/erts/emulator/test/socket_SUITE.erl b/erts/emulator/test/socket_SUITE.erl
index 9f0afcfca6..bc359ddf70 100644
--- a/erts/emulator/test/socket_SUITE.erl
+++ b/erts/emulator/test/socket_SUITE.erl
@@ -3855,7 +3855,9 @@ api_to_connect_cond() ->
%% So, just to simplify, we require atleast 4.15
api_to_connect_cond({unix, linux}, {Maj, Min, _Rev}) ->
if
- ((Maj >= 4) andalso (Min >= 15)) ->
+ (Maj > 4) ->
+ ok;
+ ((Maj =:= 4) andalso (Min >= 15)) ->
ok;
true ->
skip("TC does not work")