]> Git Repo - qemu.git/commit
nbd: Add some error case testing to iotests 223
authorEric Blake <[email protected]>
Fri, 11 Jan 2019 19:47:13 +0000 (13:47 -0600)
committerEric Blake <[email protected]>
Mon, 14 Jan 2019 16:09:46 +0000 (10:09 -0600)
commit2d2fd67428f0cfbffea16969d2635af3e2d78d3d
treeec28258053af7f2c4cce073caac6a21294cfc8cf
parent9d97658020db922b68da05faadcdd61f49fbbdc7
nbd: Add some error case testing to iotests 223

Testing success paths is important, but it's also nice to highlight
expected failure handling, to show that we don't crash, and so that
upcoming tests that change behavior can demonstrate the resulting
effects on error paths.

Add the following errors:
Attempting to export without a running server
Attempting to start a second server
Attempting to export a bad node name
Attempting to export a name that is already exported
Attempting to export an enabled bitmap
Attempting to remove an already removed export
Attempting to quit server a second time

All of these properly complain except for a second server-stop,
which will be fixed next.

Signed-off-by: Eric Blake <[email protected]>
Message-Id: <20190111194720[email protected]>
Reviewed-by: Vladimir Sementsov-Ogievskiy <[email protected]>
tests/qemu-iotests/223
tests/qemu-iotests/223.out
This page took 0.026481 seconds and 4 git commands to generate.