[libvirt] [PATCH v2 0/3] Introduce big test mock

Michal Privoznik mprivozn at redhat.com
Tue May 10 15:24:11 UTC 2016


v2 of:

https://www.redhat.com/archives/libvir-list/2016-April/msg01410.html

diff to v1:
- I've pushed the first patch of the original series
- Rebased onto current master (as Jirka's introduction of
  qemucapsprobe made my patches not applicable).

Michal Privoznik (3):
  tests: Introduce global mock library
  virtestmock: Print invalid file accesses into a file
  tests: Introduce check-file-access.pl

 .gitignore                      |   1 +
 HACKING                         |  11 ++
 Makefile.am                     |   3 +
 cfg.mk                          |   8 +-
 docs/hacking.html.in            |  15 +++
 tests/Makefile.am               |  26 +++-
 tests/check-file-access.pl      | 106 +++++++++++++++
 tests/file_access_whitelist.txt |  23 ++++
 tests/testutils.c               |  34 ++++-
 tests/testutils.h               |  10 +-
 tests/vircgroupmock.c           |   6 +-
 tests/virpcimock.c              |   6 +-
 tests/virtestmock.c             | 279 ++++++++++++++++++++++++++++++++++++++++
 13 files changed, 507 insertions(+), 21 deletions(-)
 create mode 100755 tests/check-file-access.pl
 create mode 100644 tests/file_access_whitelist.txt
 create mode 100644 tests/virtestmock.c

-- 
2.8.1




More information about the libvir-list mailing list