This series brings the ability to test 9P operations. It provides basic tests
of version, attach and walk, which are essential operations in a 9P session.
It also provide two security-oriented tests of the walk operation (for issues
that got fixed in QEMU 2.7).

I could run this on ppc64, ppc64le and i386 hosts. It also passes travis-ci
checks. I plan to push this to 2.9.

---

Greg Kurz (8):
      tests: virtio-9p: rename PCI configuration test
      tests: virtio-9p: code refactoring
      9pfs: fix P9_NOTAG and P9_NOFID macros
      tests: virtio-9p: add version operation test
      tests: virtio-9p: add attach operation test
      tests: virtio-9p: add walk operation test
      tests: virtio-9p: no slash in path elements during walk
      tests: virtio-9p: ".." cannot be used to walk out of the shared directory


 hw/9pfs/9p.h           |    4 
 tests/virtio-9p-test.c |  478 +++++++++++++++++++++++++++++++++++++++++++-----
 2 files changed, 429 insertions(+), 53 deletions(-)

--
Greg


Reply via email to