summaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/group
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2014-02-26 15:30:20 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2014-03-14 16:29:02 +0100
commitdc668ded1009f88da5e31bc5a143cf3e9070d49b (patch)
treefcc022ad05a2b142d90f48cc82196842e94cf0c0 /tests/qemu-iotests/group
parent1e8ece0db3e8604d3a17bbd2bd1277161851a44a (diff)
downloadqemu-dc668ded1009f88da5e31bc5a143cf3e9070d49b.tar.gz
qemu-iotests: add 083 NBD client disconnect tests
This new test case uses nbd-fault-injector.py to simulate broken TCP connections at each stage in the NBD protocol. This way we can exercise block/nbd-client.c's socket error handling code paths. In particular, this serves as a regression test to make sure nbd-client.c doesn't cause an infinite loop by leaving its nbd_receive_reply() fd handler registered after the connection has been closed. This bug was fixed in an earlier patch. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/group')
-rw-r--r--tests/qemu-iotests/group1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemu-iotests/group b/tests/qemu-iotests/group
index e96eafdf43..40cd3b3fa7 100644
--- a/tests/qemu-iotests/group
+++ b/tests/qemu-iotests/group
@@ -85,6 +85,7 @@
079 rw auto
081 rw auto
082 rw auto quick
+083 rw auto
085 rw auto quick
086 rw auto quick
087 rw auto quick