numam-spdk/test/unit/lib/vhost/vhost.c
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
..
.gitignore vhost: add unit test framework 2017-07-31 13:10:52 -04:00
Makefile lib: replace strerror with strerror_r 2017-08-15 16:47:01 -04:00
vhost_ut.c ut/vhost: remove test case Remove nonexistent device 2018-02-13 19:27:54 -05:00