mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
tests: streamline module names to unit_tests
This better aligns with the rest of the code and makes it clearer that these tests can run "as is" in a normal hosted environments without the special test environment. Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com
This commit is contained in:
committed by
Bo Chen
parent
c990f1bdaa
commit
d1680b9ff9
@@ -418,13 +418,13 @@ impl VsockPacket {
|
||||
|
||||
#[cfg(test)]
|
||||
#[allow(clippy::undocumented_unsafe_blocks)]
|
||||
mod tests {
|
||||
mod unit_tests {
|
||||
use virtio_bindings::virtio_ring::VRING_DESC_F_WRITE;
|
||||
use virtio_queue::QueueOwnedT;
|
||||
use vm_memory::GuestAddress;
|
||||
use vm_virtio::queue::testing::VirtqDesc as GuestQDesc;
|
||||
|
||||
use super::super::tests::TestContext;
|
||||
use super::super::unit_tests::TestContext;
|
||||
use super::*;
|
||||
use crate::GuestMemoryMmap;
|
||||
use crate::vsock::defs::MAX_PKT_BUF_SIZE;
|
||||
|
||||
Reference in New Issue
Block a user