From ec721dce200edf84fa0eb168baad45af1f03786c Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 15 Feb 2023 19:04:54 +0100 Subject: [PATCH] Ensure all tests that need to be skipped are actually skipped --- nix-fix-metadata-auto.diff | 2 +- rust-nix0.24.spec | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/nix-fix-metadata-auto.diff b/nix-fix-metadata-auto.diff index ab40b2c..df2b604 100644 --- a/nix-fix-metadata-auto.diff +++ b/nix-fix-metadata-auto.diff @@ -1,5 +1,5 @@ --- nix-0.24.3/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ nix-0.24.3/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ nix-0.24.3/Cargo.toml 2023-02-15T18:05:14.273013+00:00 @@ -178,5 +178,3 @@ version = "0.6.3" optional = true diff --git a/rust-nix0.24.spec b/rust-nix0.24.spec index 63db83c..234046e 100644 --- a/rust-nix0.24.spec +++ b/rust-nix0.24.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 23 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} @@ -461,9 +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::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