From fa4c61fe7eb34e6fdb2b1c77e6252a76577cb465 Mon Sep 17 00:00:00 2001 From: Micael Karlberg Date: Fri, 17 May 2019 17:36:26 +0200 Subject: [esock|test] Fixed host cond test Incorrect host condition test for linux (the api timeout connect test cases). OTP-15822 --- erts/emulator/test/socket_SUITE.erl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'erts/emulator/test') 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") -- cgit v1.2.3