numam-spdk/test/unit/lib/vhost
Dariusz Stojaczyk 2c1912f64b ut/vhost: remove test case Remove nonexistent device
This test case doesn't work. The title suggests
that unregistering non-registered device should
fail - but in fact we don't check against that.
The test expects failure, but fails due to a
different issue - the device is in use. And there
is already a separate test for this case.

Device is considered in use when it's vid is != -1,
and we always init the vid to 10 inside alloc_vdev.

Change-Id: I8de1afce8f6bcbd2a6bfbb30870265e30b2a9a41
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/399590
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2018-02-13 19:27:54 -05:00
..
vhost_blk.c test/vhost: fix typo 2018-02-09 18:25:19 -05:00
vhost_scsi.c vhost: remove vdev->type field 2018-02-06 11:05:01 -05:00
vhost.c ut/vhost: remove test case Remove nonexistent device 2018-02-13 19:27:54 -05:00
Makefile ut/vhost: add UT coverage for vhost_blk.c 2017-09-06 18:14:15 -04:00
test_vhost.c vhost: remove vdev->type field 2018-02-06 11:05:01 -05:00