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

Function invalid_cluster_bits

block/src/qcow/mod.rs:2982–2988  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2980
2981 #[test]
2982 fn invalid_cluster_bits() {
2983 let mut header = valid_header_v3();
2984 header[23] = 3;
2985 with_basic_file(&header, |disk_file: RawFile| {
2986 QcowFile::from(disk_file).expect_err("Failed to create file.");
2987 });
2988 }
2989
2990 #[test]
2991 fn test_header_huge_file() {

Callers

nothing calls this directly

Calls 2

valid_header_v3Function · 0.85
with_basic_fileFunction · 0.85

Tested by

no test coverage detected