diff options
author | Micael Karlberg <[email protected]> | 2019-05-15 14:29:27 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2019-05-29 13:47:40 +0200 |
commit | 663a0735a1f18f1ea8e482946a98cf09f3424271 (patch) | |
tree | a542a1f73a6a36f9ad3803a3c9cf17e2438fb5de /erts | |
parent | d1f053ada333595d07ee3d837bf0071e651c7dc9 (diff) | |
download | otp-663a0735a1f18f1ea8e482946a98cf09f3424271.tar.gz otp-663a0735a1f18f1ea8e482946a98cf09f3424271.tar.bz2 otp-663a0735a1f18f1ea8e482946a98cf09f3424271.zip |
[esock|test] Add ttest case (ssf/csf/m) work for local (stream)
Add ttest test case for Unix Domain (stream) socket:
Server: socket with active = false
Client: socket with active = false
Message Size: medium
OTP-15822
Diffstat (limited to 'erts')
-rw-r--r-- | erts/emulator/test/socket_SUITE.erl | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/erts/emulator/test/socket_SUITE.erl b/erts/emulator/test/socket_SUITE.erl index fd7581f664..8424f0c97b 100644 --- a/erts/emulator/test/socket_SUITE.erl +++ b/erts/emulator/test/socket_SUITE.erl @@ -356,6 +356,7 @@ ttest_ssockf_csockf_small_tcpL/1, ttest_ssockf_csockf_medium_tcp4/1, ttest_ssockf_csockf_medium_tcp6/1, + ttest_ssockf_csockf_medium_tcpL/1, ttest_ssockf_csockf_large_tcp4/1, ttest_ssockf_csockf_large_tcp6/1, @@ -1204,6 +1205,7 @@ ttest_ssockf_csockf_cases() -> ttest_ssockf_csockf_medium_tcp4, ttest_ssockf_csockf_medium_tcp6, + ttest_ssockf_csockf_medium_tcpL, ttest_ssockf_csockf_large_tcp4, ttest_ssockf_csockf_large_tcp6 @@ -16366,6 +16368,30 @@ ttest_ssockf_csockf_medium_tcp6(Config) when is_list(Config) -> %% ping-pong like test case. %% Server: Transport = socket(tcp), Active = false %% Client: Transport = socket(tcp), Active = false +%% Message Size: medium (=2) +%% Domain: local +%% + +ttest_ssockf_csockf_medium_tcpL(suite) -> + []; +ttest_ssockf_csockf_medium_tcpL(doc) -> + []; +ttest_ssockf_csockf_medium_tcpL(Config) when is_list(Config) -> + Runtime = which_ttest_runtime(Config), + ttest_tcp(ttest_ssockf_csockf_medium_tcpL, + Runtime, + local, + sock, false, + sock, false, + 2, 20). + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% This test case uses the time test (ttest) utility to implement a +%% ping-pong like test case. +%% Server: Transport = socket(tcp), Active = false +%% Client: Transport = socket(tcp), Active = false %% Message Size: large (=3) %% Domain: inet %% |