Michal Privoznik 50129dcc9c vircgroupmock: Mock access("/sys/devices/system/cpu/present")
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 strace vircgrouptest
...
access("/sys/devices/system/cpu/present", F_OK) = 0
...

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2016-02-25 11:14:29 +01:00
..
2014-09-03 09:36:13 -06:00
2015-05-21 18:13:18 +02:00
2015-10-21 15:03:35 +02:00
2015-04-23 17:08:48 -04:00
2015-06-25 09:11:15 +02:00
2015-04-27 16:03:31 +02:00
2015-05-21 18:13:18 +02:00
2016-02-11 11:35:02 +01:00
2015-04-14 19:33:02 +02:00
2015-04-14 19:33:02 +02:00
2016-02-23 10:36:13 +01:00
2015-10-21 15:03:35 +02:00
2015-04-23 17:08:48 -04:00