[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH v3 0/4] Introduce big test mock



diff to v2:
- Peter's review suggestions worked in

Note that patch 2/4 is ACKed already, but without the rest it
makes no sense, so I've not pushed it yet and sending it here for
completeness.

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

 .gitignore                      |   1 +
 HACKING                         |   9 ++
 Makefile.am                     |   3 +
 cfg.mk                          |   2 +-
 docs/hacking.html.in            |  11 ++
 src/libvirt_private.syms        |   1 +
 src/util/virfile.c              |  17 +++
 src/util/virfile.h              |   1 +
 src/util/virstoragefile.c       |   6 +-
 tests/Makefile.am               |  28 ++++-
 tests/check-file-access.pl      | 104 ++++++++++++++++
 tests/file_access_whitelist.txt |  23 ++++
 tests/testutils.c               |  32 +++--
 tests/testutils.h               |  10 +-
 tests/vircgroupmock.c           |  15 +--
 tests/virpcimock.c              |  14 +--
 tests/virtestmock.c             | 266 ++++++++++++++++++++++++++++++++++++++++
 17 files changed, 503 insertions(+), 40 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]