Spdk/test/unit/lib
Ben Walker 0254ef6d2b sock: Fix return code for adding a socket to a group twice
Also fix the comment. It's never going to make sense to add a socket
to a group twice.

Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Change-Id: Id4845b77114aef32bbe4ea0e53d2e1fde8e116f4
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7204
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
2021-04-09 17:15:57 +00:00
..
accel test/accel: add UT for _get_task() 2021-02-22 10:03:35 +00:00
bdev bdev/nvme: Move nvme_ctrlr_depopulate_namespace_done() to common.c 2021-04-08 16:10:26 +00:00
blob test/blob: Use CFLAGS when checking CUnit version 2021-02-04 08:44:30 +00:00
blobfs remove unneeded spdk_internal/thread.h includes 2020-12-10 14:38:04 +00:00
event event: Add return code to spdk_rpc_initialize 2021-03-12 08:38:10 +00:00
ftl remove unneeded spdk_internal/thread.h includes 2020-12-10 14:38:04 +00:00
idxd test/idxd: fix allocation issue with unit test 2021-03-26 08:22:41 +00:00
ioat ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
iscsi lib/iscsi: return immediately from iscsi_parse_params if len is 0 2021-03-01 14:13:48 +00:00
json json: add spdk_json_free_object() 2020-10-19 10:02:10 +00:00
jsonrpc lib/jsonrpc: remove spdk_ prefix from internal functions. 2020-05-11 12:29:07 +00:00
log log: simplify SPDK_LOG_REGISTER_COMPONENT 2020-10-14 08:00:35 +00:00
lvol blob: Make the ABI compatibility of spdk_blob_open_opts structure. 2020-12-29 07:55:22 +00:00
notify ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
nvme nvme/ut: Add test to cover failed split of SGL list 2021-04-05 22:58:57 +00:00
nvmf nvmf/tcp: Move the accel_engine into the poll group. 2021-03-30 11:50:20 +00:00
reduce test: add generic unlink wrapper 2020-05-06 12:43:57 +00:00
scsi test/unit/lib/scsi: Add unit test stubs 2020-11-19 09:47:06 +00:00
sock sock: Fix return code for adding a socket to a group twice 2021-04-09 17:15:57 +00:00
thread thread: Add spdk_io_channel_get_io_device() to get io_device from io_channel 2021-04-08 16:10:26 +00:00
util test/string.c: remove hardcoded limit values 2021-02-11 08:40:09 +00:00
vhost lib/vhost: force cpumask to be subset of application's CPU mask 2021-02-04 08:35:08 +00:00
json_mock.c ut/json_mock: Add spdk_json_write_string_fmt() 2021-02-09 11:29:53 +00:00
Makefile test/accel: add first UT for accel framework 2021-02-22 10:03:35 +00:00