tests: Convert some tests to use nbdsh instead of qemu-io.
commit4eaf83b704b955c8d03966b1faa50a22f6071004
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 10 Sep 2019 19:25:49 +0000 (10 20:25 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 11 Sep 2019 10:50:49 +0000 (11 11:50 +0100)
tree68867aa9e08d123d6ce19566b95b5bbbc60328ed
parentf59af005a457bb90ca2b23ee23247cc8d58bd576
tests: Convert some tests to use nbdsh instead of qemu-io.

nbdsh has some advantages over qemu-io:

 - scriptable

 - allows us to more finely control NBD commands, such as
   making subsector-sized requests and controlling how
   many commands are sent on the wire

 - can write controlled patterns

 - can read NBD export flags
README
tests/Makefile.am
tests/test-error0.sh
tests/test-error100.sh
tests/test-full.sh