[Libguestfs] [nbdkit PATCH 0/2] Add nbd forwarder test coverage

Eric Blake eblake at redhat.com
Mon Nov 20 23:16:52 UTC 2017


To avoid bitrot, any new feature needs testsuite coverage ;)

Still to come: once I get my work on parallel nbd finished,
I will add a test-parallel-nbd.sh that closely mirrors what
my other series added in test-parallel-file.sh.

If desired, it might be a fun exercise to tweak test-nbd into
using a for-loop of user-controlled depth for how deep you
want to nest the forwarding tree, to see where the bottlenecks
like in trying to improve nbdkit performance.

Eric Blake (2):
  tests: Prepare for running multiple nbdkits in one test
  tests: Test nbd forwarder plugin

 .gitignore        |   1 +
 tests/Makefile.am |   8 ++++
 tests/test-nbd.c  | 119 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/test.c      | 118 +++++++++++++++++++++++++++++++++++------------------
 tests/test.h      |   4 +-
 5 files changed, 209 insertions(+), 41 deletions(-)
 create mode 100644 tests/test-nbd.c

-- 
2.13.6




More information about the Libguestfs mailing list