MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / test_tap_enable

Function test_tap_enable

net_util/src/tap.rs:765–770  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

763
764 #[test]
765 fn test_tap_enable() {
766 let _tap_ip_guard = TAP_IP_LOCK.lock().unwrap();
767
768 let tap = Tap::new(1).unwrap();
769 tap.enable().unwrap();
770 }
771
772 #[test]
773 fn test_raw_fd() {

Callers

nothing calls this directly

Calls 2

newFunction · 0.85
enableMethod · 0.45

Tested by

no test coverage detected