Spdk/test/unit/lib/vhost/vhost_scsi.c
Pawel f539bb0374 ut/vhost: move mock functions to common vhost file
Adding new functions to core vhost requires adding their equivalent
mocks in both vhost_scsi_ut and vhost_blk_ut separatly. By adding common
file "test_vhost.c", we can prevent duplicate mock functions.

Change-Id: I4542ae092e158b94b25559216e1fc46e10c1a1ae
Signed-off-by: Pawel Niedzwiecki <pawelx.niedzwiecki@intel.com>
Reviewed-on: https://review.gerrithub.io/383357
Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-11-20 19:34:53 -05:00
..
.gitignore ut/vhost: add UT coverage for vhost_scsi.c 2017-09-05 17:58:25 -04:00
Makefile ut/vhost: add UT coverage for vhost_scsi.c 2017-09-05 17:58:25 -04:00
vhost_scsi_ut.c ut/vhost: move mock functions to common vhost file 2017-11-20 19:34:53 -05:00