mirror of
https://github.com/rust-vmm/vhost-device.git
synced 2025-12-28 08:01:04 +00:00
Before the constructor of this function was opening the device corresponding to the passed path. This did not allow for properly mocking the device functionality. Now the device is passed as a parameter instead, which allows us to tweak what the device returns for ioctl calls, and we can thus test multiple scenarios. Signed-off-by: Andreea Florescu <fandree@amazon.com>
6 lines
75 B
JSON
6 lines
75 B
JSON
{
|
|
"coverage_score": 48.8,
|
|
"exclude_path": "",
|
|
"crate_features": ""
|
|
}
|