aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2011-11-24 10:07:31 +0100
committerRaimo Niskanen <[email protected]>2011-11-28 14:42:38 +0100
commit88f5d403044ae92677033117751d5aa04a11b6fe (patch)
tree9d93d7009f57d3d9692fbee6e48a867ad3f21bea /lib/kernel
parentc5c718e28d87c3a77655ed22d2e9fd536e83281f (diff)
downloadotp-88f5d403044ae92677033117751d5aa04a11b6fe.tar.gz
otp-88f5d403044ae92677033117751d5aa04a11b6fe.tar.bz2
otp-88f5d403044ae92677033117751d5aa04a11b6fe.zip
kernel: Adjust sctp test skip for interesting error value from Montavista
Diffstat (limited to 'lib/kernel')
-rw-r--r--lib/kernel/test/gen_sctp_SUITE.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/kernel/test/gen_sctp_SUITE.erl b/lib/kernel/test/gen_sctp_SUITE.erl
index 300152ddce..8f490b6643 100644
--- a/lib/kernel/test/gen_sctp_SUITE.erl
+++ b/lib/kernel/test/gen_sctp_SUITE.erl
@@ -48,7 +48,9 @@ init_per_suite(_Config) ->
{ok,Socket} ->
gen_sctp:close(Socket),
[];
- {error,eprotonosupport} ->
+ {error,Error}
+ when Error =:= eprotonosupport;
+ Error =:= esocktnosupport ->
{skip,"SCTP not supported on this machine"}
end.