From 50cd5a0f48deab371e43753584ea5f17dddb19f1 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 19 Feb 2023 19:08:26 +0100 Subject: [PATCH] Skip more tests that don't work when virtualized / containerized --- rust-nix0.24.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-nix0.24.spec b/rust-nix0.24.spec index df487e0..eba760a 100644 --- a/rust-nix0.24.spec +++ b/rust-nix0.24.spec @@ -461,7 +461,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::linux_errqueue::test_recverr_v4 --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::test_socket::test_timestamping --skip sys::socket::sendmsg %endif %changelog