From cd48780f5f0066d3afa0a6f822408a083650334c Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 15 Feb 2023 19:01:45 +0100 Subject: [PATCH] Ensure all tests that need to be skipped are actually skipped --- nix-fix-metadata-auto.diff | 2 +- rust-nix.spec | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/nix-fix-metadata-auto.diff b/nix-fix-metadata-auto.diff index 68c5fcf..842b556 100644 --- a/nix-fix-metadata-auto.diff +++ b/nix-fix-metadata-auto.diff @@ -1,5 +1,5 @@ --- nix-0.26.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ nix-0.26.2/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ nix-0.26.2/Cargo.toml 2023-02-15T18:02:01.943117+00:00 @@ -181,5 +181,3 @@ version = "0.7" optional = true diff --git a/rust-nix.spec b/rust-nix.spec index eb0443a..550fadd 100644 --- a/rust-nix.spec +++ b/rust-nix.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 23 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} @@ -473,9 +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::test_ioctl::linux_ioctls::test_ioctl_write_int \ - --skip test_fcntl::linux_android::test_copy_file_range +%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 %endif %changelog