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

Function test_huge_l1_table

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

Source from the content-addressed store, hash-verified

3006
3007 #[test]
3008 fn test_huge_l1_table() {
3009 let mut header = valid_header_v3();
3010 header[36] = 0x12;
3011 with_basic_file(&header, |disk_file: RawFile| {
3012 QcowFile::from(disk_file).expect_err("Failed to create file.");
3013 });
3014 }
3015
3016 #[test]
3017 fn test_header_1_tb_file_min_cluster() {

Callers

nothing calls this directly

Calls 2

valid_header_v3Function · 0.85
with_basic_fileFunction · 0.85

Tested by

no test coverage detected