Skip to content

Commit

Permalink
Skip multicast tests when networking not available
Browse files Browse the repository at this point in the history
  • Loading branch information
aantron committed Sep 27, 2019
1 parent b4c53ae commit 584f342
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/unix/test_mcast.ml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ let test_mcast name join set_loop =
(function
| Lwt_unix.Timeout ->
Lwt.return should_timeout
| Unix.Unix_error (Unix.ENODEV, "setsockopt", _)
| Unix.Unix_error (Unix.ENETUNREACH, "send", _) ->
Lwt.fail Skip
| e ->
Lwt.fail e
)
Expand Down

0 comments on commit 584f342

Please sign in to comment.