From 56c11600db808399d2910475adde99e1cc2fa901 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Thu, 26 May 2022 12:32:57 +0100 Subject: [PATCH] tests: Rename test_virtio_fs helper This is so we can have a test called test_virtio_fs Signed-off-by: Rob Bradford --- tests/integration.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/integration.rs b/tests/integration.rs index fbd2d6400..7cc3ecbc2 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -1122,7 +1122,7 @@ fn test_boot_from_vhost_user_blk( handle_child_output(r, &output); } -fn test_virtio_fs( +fn _test_virtio_fs( dax: bool, cache_size: Option, prepare_daemon: &dyn Fn(&TempDir, &str) -> (std::process::Child, String), @@ -3109,24 +3109,24 @@ mod parallel { #[test] fn test_virtio_fs_dax_off() { - test_virtio_fs(false, None, &prepare_virtiofsd, false, None) + _test_virtio_fs(false, None, &prepare_virtiofsd, false, None) } #[test] fn test_virtio_fs_hotplug_dax_off() { - test_virtio_fs(false, None, &prepare_virtiofsd, true, None) + _test_virtio_fs(false, None, &prepare_virtiofsd, true, None) } #[test] #[cfg(not(feature = "mshv"))] fn test_virtio_fs_multi_segment_hotplug() { - test_virtio_fs(false, None, &prepare_virtiofsd, true, Some(15)) + _test_virtio_fs(false, None, &prepare_virtiofsd, true, Some(15)) } #[test] #[cfg(not(feature = "mshv"))] fn test_virtio_fs_multi_segment() { - test_virtio_fs(false, None, &prepare_virtiofsd, false, Some(15)) + _test_virtio_fs(false, None, &prepare_virtiofsd, false, Some(15)) } #[test]