()
| 2757 | |
| 2758 | #[test] |
| 2759 | fn invalid_refcount_order() { |
| 2760 | let mut header = valid_header_v3(); |
| 2761 | header[99] = 7; |
| 2762 | with_basic_file(&header, |disk_file: RawFile| { |
| 2763 | QcowFile::from(disk_file).expect_err("Invalid refcount order worked."); |
| 2764 | }); |
| 2765 | } |
| 2766 | |
| 2767 | /// Test all valid refcount orders (0-6) can be opened. |
| 2768 | #[test] |
nothing calls this directly
no test coverage detected