Spdk/test/vhost/initiator
Darek Stojaczyk 2fc1a2d056 test/vhost/initiator: inline create_bdev_config()
This function is not really reusable. Inline it to have
a simple, top-to-bottom test flow.

This already shows the test is unnecessarily complicated.
If anything with lib/virtio goes wrong this file is the last
script that will be used for debugging. It would be OK if
there simpler tests for lib/virtio, but there are not.

While here, also add comments for the three major steps
in this test script because it finally looks sane.

Change-Id: Ic8ae611d853d4a685d38aa3112d16e396b0e110d
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1552
Reviewed-by: Karol Latecki <karol.latecki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
2020-06-05 09:03:50 +00:00
..
autotest.config test/vhost: change spdk and qemu masks to decimal format 2018-06-28 16:30:48 +00:00
bdev_pci.conf test/ioat: remove unnecessary config entires 2018-08-30 14:45:48 +00:00
bdev.fio test/virtio: Move all nightly test cases to per-patch 2018-01-24 18:28:49 -05:00
blockdev.sh test/vhost/initiator: inline create_bdev_config() 2020-06-05 09:03:50 +00:00