diff options
-rw-r--r-- | src/vhost_kern/vsock.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vhost_kern/vsock.rs b/src/vhost_kern/vsock.rs index ace5a1f..388d500 100644 --- a/src/vhost_kern/vsock.rs +++ b/src/vhost_kern/vsock.rs @@ -84,7 +84,9 @@ mod tests { use super::*; use crate::{VhostBackend, VhostUserMemoryRegionInfo, VringConfigData}; + // Ignore all tests because /dev/vhost-vsock is unavailable in Chrome OS chroot. #[test] + #[ignore] fn test_vsock_new_device() { let m = GuestMemoryMmap::from_ranges(&[(GuestAddress(0), 0x10_0000)]).unwrap(); let vsock = Vsock::new(&m).unwrap(); @@ -95,6 +97,7 @@ mod tests { } #[test] + #[ignore] fn test_vsock_is_valid() { let m = GuestMemoryMmap::from_ranges(&[(GuestAddress(0), 0x10_0000)]).unwrap(); let vsock = Vsock::new(&m).unwrap(); @@ -119,6 +122,7 @@ mod tests { } #[test] + #[ignore] fn test_vsock_ioctls() { let m = GuestMemoryMmap::from_ranges(&[(GuestAddress(0), 0x10_0000)]).unwrap(); let vsock = Vsock::new(&m).unwrap(); |