Re: [libvirt] [PATCH 2/2] test: qemuhotplugtest mock virFileMakePath

2020-01-15 Thread Daniel Henrique Barboza
On 1/15/20 1:37 PM, Christian Ehrhardt wrote: In certain build environments (e.g. Debian and Ubuntu) $HOME is set to a non existing path intentionally. That breaks and crashes qemuhotplugtest by failing the init in virHostdevManagerGetDefault. Avoid that issue by mocking the virFileMakePath

[libvirt] [PATCH 2/2] test: qemuhotplugtest mock virFileMakePath

2020-01-15 Thread Christian Ehrhardt
In certain build environments (e.g. Debian and Ubuntu) $HOME is set to a non existing path intentionally. That breaks and crashes qemuhotplugtest by failing the init in virHostdevManagerGetDefault. Avoid that issue by mocking the virFileMakePath behavior if it is passed a path that matches $HOME