Spdk/test/unit/lib
Shuhei Matsumoto 92ef1a64ec iscsi and ut/iscsi: return code to fail of IG creation
spdk_iscsi_init_grp_create_from_configfile() returns 0 even if
creating an initiator group (IG) is failed due to empty netmask or
initiator name. This will be unexpected behavior for end users.
Hence change the return code from 0 to -ENVAL for this failure.

Besides do the following.

Change other error return codes in the function by using errno too.

Current IG don't have any UT code in repository. UT code to confirm
this fix is also submitted.

Change-Id: Ic918feb5c6a3e772b325664d881b2673b553a217
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-on: https://review.gerrithub.io/384408
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-11-21 16:06:30 -05:00
..
bdev lvol: add unmap and write zeros support 2017-11-21 13:28:22 -05:00
blob blob: handle the case that channel is not created 2017-11-14 15:43:08 -05:00
blobfs blobfs, tree: fix a bug in spdk_tree_insert_buffer 2017-08-15 16:36:41 -04:00
event ut/event: add fatal assert for allocation 2017-10-17 11:34:38 -04:00
ioat test: move IOAT library unit test to test/unit 2017-06-21 18:57:35 -04:00
iscsi iscsi and ut/iscsi: return code to fail of IG creation 2017-11-21 16:06:30 -05:00
json test/json_util_ut: assert that string is valid 2017-07-12 18:13:23 -04:00
jsonrpc jsonrpc: allow asynchronous request completion 2017-07-12 12:10:31 -04:00
log build: include spdk.app.mk in all app Makefiles 2017-11-15 17:57:07 -05:00
lvol unit/lvol: negative unit tests for lvols load 2017-11-15 18:05:09 -05:00
nvme nvme: normalize PCI addresses before comparing 2017-11-16 18:17:09 -05:00
nvmf nvmf: Store subsystems in array instead of a list 2017-11-15 17:54:13 -05:00
scsi event: Pollers must now be unregistered from the thread they run on. 2017-11-17 11:11:23 -05:00
util io_channel: change return type of spdk_channel_msg 2017-11-17 11:25:14 -05:00
vhost ut/vhost: move mock functions to common vhost file 2017-11-20 19:34:53 -05:00
Makefile lvol: Logical volume implementation 2017-09-14 19:30:54 -04:00