tests: Rename test_virtio_fs helper

This is so we can have a test called test_virtio_fs

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2022-05-26 12:32:57 +01:00 committed by Sebastien Boeuf
parent f2336413be
commit 56c11600db

View File

@ -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<u64>,
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]