Re: [libvirt] [PATCH 1/2] Add tests for virUSBDeviceFind functions

2014-02-27 Thread Michal Privoznik
On 26.02.2014 17:54, Ján Tomko wrote: Mock the /sys/bus/usb directory and test the finding (and not finding) of some USB devices. --- .gitignore | 1 + cfg.mk | 3 +- tests/Makefile.am

Re: [libvirt] [PATCH 1/2] Add tests for virUSBDeviceFind functions

2014-02-27 Thread Michal Privoznik
On 27.02.2014 14:27, Michal Privoznik wrote: On 26.02.2014 17:54, Ján Tomko wrote: Mock the /sys/bus/usb directory and test the finding (and not finding) of some USB devices. --- .gitignore | 1 + cfg.mk |

Re: [libvirt] [PATCH 1/2] Add tests for virUSBDeviceFind functions

2014-02-27 Thread Ján Tomko
On 02/27/2014 02:27 PM, Michal Privoznik wrote: On 26.02.2014 17:54, Ján Tomko wrote: Mock the /sys/bus/usb directory and test the finding (and not finding) of some USB devices. --- @@ -815,6 +817,16 @@ virpcimock_la_LIBADD = $(GNULIB_LIBS) \ virpcimock_la_LDFLAGS = -module -avoid-version

[libvirt] [PATCH 1/2] Add tests for virUSBDeviceFind functions

2014-02-26 Thread Ján Tomko
Mock the /sys/bus/usb directory and test the finding (and not finding) of some USB devices. --- .gitignore | 1 + cfg.mk | 3 +- tests/Makefile.am | 12 + tests/virusbtest.c