Re: [libvirt] [PATCH] vircgroupmock: Mock access("/sys/devices/system/cpu/present")

2016-02-25 Thread Andrea Bolognani
On Thu, 2016-02-25 at 09:08 +0100, Michal Privoznik wrote: > There's been a report on the upstream list [1] describing we You forgot the link. Then again, I'm not sure this information is even useful to have in the commit message. > access /sys/devices/system/cpu/present directly on the host

[libvirt] [PATCH] vircgroupmock: Mock access("/sys/devices/system/cpu/present")

2016-02-25 Thread Michal Privoznik
There's been a report on the upstream list [1] describing we access /sys/devices/system/cpu/present directly on the host from within our test suite. This may end up in unpredictable results as no all linux systems are required to have that file. Mock access to the file. libvirt.git/tests $ ../run