From 77a023f22404c02f2407ea1bebc14ad9cb64bd83 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 25 May 2022 18:04:46 +0200 Subject: [PATCH] Skip a doctest that doesn't work in mock environments --- rust-nix.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rust-nix.spec b/rust-nix.spec index c14b577..fbe7f92 100644 --- a/rust-nix.spec +++ b/rust-nix.spec @@ -464,8 +464,8 @@ use the "zerocopy" feature of the "%{crate}" crate. %if %{with check} %check -# skip a test that is not supported in virtualized environments -%cargo_test -- -- --skip sys::test_socket::test_af_alg_cipher +# * skip two tests that don't work in mock environments +%cargo_test -- -- --skip sys::test_socket::test_af_alg_cipher --skip src/sys/socket/mod.rs %endif %changelog