Go to the source code of this file.
◆ CLIENT_DB_NAME
#define CLIENT_DB_NAME "sss_ut_client.db" |
◆ CLIENT_ENDPOINT_ADDR
#define CLIENT_ENDPOINT_ADDR "0@lo:12345:34:*" |
◆ M0_TRACE_SUBSYSTEM
#define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_UT |
◆ SERVER_ADDB_STOB_NAME
#define SERVER_ADDB_STOB_NAME "linuxstob:sss_ut_server.addb_stob" |
◆ SERVER_DB_NAME
#define SERVER_DB_NAME "sss_ut_server.db" |
◆ SERVER_ENDPOINT
◆ SERVER_ENDPOINT_ADDR
#define SERVER_ENDPOINT_ADDR "0@lo:12345:34:1" |
◆ SERVER_LOG_NAME
#define SERVER_LOG_NAME "sss_ut_server.log" |
◆ SERVER_STOB_NAME
#define SERVER_STOB_NAME "sss_ut_server.stob" |
◆ anonymous enum
Enumerator |
---|
MAX_RPCS_IN_FLIGHT | |
Definition at line 45 of file sss_ut.c.
◆ rpc_client_and_server_start()
static void rpc_client_and_server_start |
( |
void |
| ) |
|
|
static |
◆ rpc_client_and_server_stop()
static void rpc_client_and_server_stop |
( |
void |
| ) |
|
|
static |
◆ sss_commands_test()
static void sss_commands_test |
( |
void |
| ) |
|
|
static |
◆ sss_device_fom_create_fail()
static void sss_device_fom_create_fail |
( |
void |
| ) |
|
|
static |
device-fom-fail
Test fail create SNS Device FOM
Definition at line 441 of file sss_ut.c.
◆ sss_fop_ut_release()
static void sss_fop_ut_release |
( |
struct m0_ref * |
ref | ) |
|
|
static |
◆ sss_process_commands_test()
static void sss_process_commands_test |
( |
void |
| ) |
|
|
static |
◆ sss_process_fom_create_fail()
static void sss_process_fom_create_fail |
( |
void |
| ) |
|
|
static |
◆ sss_process_health_test()
static void sss_process_health_test |
( |
void |
| ) |
|
|
static |
◆ sss_process_lib_load_libc_test()
static void sss_process_lib_load_libc_test |
( |
void |
| ) |
|
|
static |
◆ sss_process_lib_load_noent_test()
static void sss_process_lib_load_noent_test |
( |
void |
| ) |
|
|
static |
◆ sss_process_lib_load_testlib_test()
static void sss_process_lib_load_testlib_test |
( |
void |
| ) |
|
|
static |
Tests library loading request processing.
Loads libtestlib.so library. The "motr_lib_init()" function in this library (sss/ut/testlib.c) is invoked and enables a specific failure injection point, checked by this test.
Definition at line 358 of file sss_ut.c.
◆ sss_process_quiesce_test()
static void sss_process_quiesce_test |
( |
void |
| ) |
|
|
static |
◆ sss_process_reconfig_test()
static void sss_process_reconfig_test |
( |
void |
| ) |
|
|
static |
◆ sss_process_stop_test()
static void sss_process_stop_test |
( |
void |
| ) |
|
|
static |
◆ sss_process_svc_list_test()
static void sss_process_svc_list_test |
( |
void |
| ) |
|
|
static |
◆ sss_ut_fini()
static int sss_ut_fini |
( |
void |
| ) |
|
|
static |
◆ sss_ut_fop_alloc()
static struct m0_fop* sss_ut_fop_alloc |
( |
const char * |
name, |
|
|
uint32_t |
cmd |
|
) |
| |
|
static |
◆ sss_ut_init()
static int sss_ut_init |
( |
void |
| ) |
|
|
static |
◆ sss_ut_req()
static void sss_ut_req |
( |
uint32_t |
cmd, |
|
|
int32_t |
expected_rc, |
|
|
uint32_t |
expected_state |
|
) |
| |
|
static |
◆ ut_sss_process_create_req()
static struct m0_fop* ut_sss_process_create_req |
( |
uint32_t |
cmd | ) |
|
|
static |
◆ ut_sss_process_param_set()
static void ut_sss_process_param_set |
( |
struct m0_fop * |
fop, |
|
|
const char * |
name |
|
) |
| |
|
static |
◆ ut_sss_process_req()
static void ut_sss_process_req |
( |
struct m0_fop * |
fop, |
|
|
int |
ssr_rc_exptd |
|
) |
| |
|
static |
Processes commands test
Definition at line 245 of file sss_ut.c.
◆ cctx
Initial value:= {
}
#define CLIENT_ENDPOINT_ADDR
static struct m0_net_domain client_net_dom
#define SERVER_ENDPOINT_ADDR
struct m0_fid g_process_fid
Definition at line 72 of file sss_ut.c.
◆ client_net_dom
◆ sctx
Initial value:= {
.rsx_xprts_nr = 1,
}
static char * server_argv[]
Definition at line 64 of file sss_ut.c.
◆ server_argv
Initial value:= {
}
#define SERVER_ADDB_STOB_NAME
#define SERVER_ENDPOINT_ADDR
#define M0_UT_CONF_PROCESS
Definition at line 56 of file sss_ut.c.
◆ ss_process_fom_type_ops
◆ sss_ut
Initial value:= {
.ts_name = "sss-ut",
.ts_tests = {
},
}
static int sss_ut_fini(void)
static void sss_process_svc_list_test(void)
static void sss_device_fom_create_fail(void)
static void sss_process_lib_load_noent_test(void)
static void sss_commands_test(void)
static void sss_process_lib_load_libc_test(void)
static void sss_process_fom_create_fail(void)
static int sss_ut_init(void)
static void sss_process_commands_test(void)
static void sss_process_lib_load_testlib_test(void)
Definition at line 473 of file sss_ut.c.
◆ ut_fid
Initial value:= {
.f_container = 0x7300000000000001,
.f_key = 10
}
Definition at line 49 of file sss_ut.c.