diff options
author | Anders Svensson <[email protected]> | 2011-12-05 19:07:33 +0100 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2011-12-06 19:04:37 +0100 |
commit | f7cd24ba70e47bfdfe88ecd171c1a8badbe7e338 (patch) | |
tree | 0946fa359465b5c0cdb3c4f6cc05c40609a40e40 | |
parent | 5bef23a095dff0e5e0a8662011f0cf312bf67ffc (diff) | |
download | otp-f7cd24ba70e47bfdfe88ecd171c1a8badbe7e338.tar.gz otp-f7cd24ba70e47bfdfe88ecd171c1a8badbe7e338.tar.bz2 otp-f7cd24ba70e47bfdfe88ecd171c1a8badbe7e338.zip |
Skip sctp tests on {error, esocktnosupport}
This is returned on MontaVista 4.0.1, Linux 2.6.10.
On Solaris 9 (for one at least) it's eprotonosupport.
-rw-r--r-- | lib/diameter/test/diameter_transport_SUITE.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/diameter/test/diameter_transport_SUITE.erl b/lib/diameter/test/diameter_transport_SUITE.erl index 3bd96ee422..df7161fd1e 100644 --- a/lib/diameter/test/diameter_transport_SUITE.erl +++ b/lib/diameter/test/diameter_transport_SUITE.erl @@ -179,7 +179,8 @@ have_sctp() -> {ok, Sock} -> gen_sctp:close(Sock), true; - {error, eprotonosupport} -> %% fail on any other reason + {error, E} when E == eprotonosupport; + E == esocktnosupport -> %% fail on any other reason false catch error: badarg -> |