From 9f86e03fb6048482b436203f91da9acecc1f6dc5 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 19 Feb 2023 18:43:31 +0100 Subject: [PATCH] Skip more tests that don't work when virtualized / containerized --- rust-nix.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-nix.spec b/rust-nix.spec index 550fadd..58b7d38 100644 --- a/rust-nix.spec +++ b/rust-nix.spec @@ -473,7 +473,7 @@ use the "zerocopy" feature of the "%{crate}" crate. %if %{with check} %check # * skip tests that don't work in mock environments -%cargo_test -- -- --skip sys::resource::test::test_self_cpu_time --skip sys::test_ioctl::linux_ioctls::test_ioctl_write_int --skip test_fcntl::linux_android::test_copy_file_range --skip sys::test_socket::test_af_alg_cipher +%cargo_test -- -- --skip sys::resource::test::test_self_cpu_time --skip sys::test_ioctl::linux_ioctls::test_ioctl_write_int --skip test_fcntl::linux_android::test_copy_file_range --skip sys::test_socket::test_af_alg_cipher --skip sys::socket::sendmsg %endif %changelog