Re: [libvirt] [PATCH v2 1/5] tests: Introduce virpcitest

2013-11-01 Thread Martin Kletzander
On Thu, Oct 31, 2013 at 11:23:38AM +, Michal Privoznik wrote: > Among with this test introduce virpcimock as we need to mock some > syscalls, e.g. redirect open() of a file under /sys/bus/pci to a > stub sysfs tree. > > Signed-off-by: Michal Privoznik > --- OK, Now I noticed your v2, so I'm

[libvirt] [PATCH v2 1/5] tests: Introduce virpcitest

2013-10-31 Thread Michal Privoznik
Among with this test introduce virpcimock as we need to mock some syscalls, e.g. redirect open() of a file under /sys/bus/pci to a stub sysfs tree. Signed-off-by: Michal Privoznik --- .gitignore | 1 + cfg.mk | 2 +- tests/Makefile.am | 13 +++ tests/virpcimock.c | 312