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

Function test_header_huge_file

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

Source from the content-addressed store, hash-verified

2989
2990 #[test]
2991 fn test_header_huge_file() {
2992 let header = test_huge_header();
2993 with_basic_file(&header, |disk_file: RawFile| {
2994 QcowFile::from(disk_file).expect_err("Failed to create file.");
2995 });
2996 }
2997
2998 #[test]
2999 fn test_header_crazy_file_size_rejected() {

Callers

nothing calls this directly

Calls 2

test_huge_headerFunction · 0.85
with_basic_fileFunction · 0.85

Tested by

no test coverage detected