}
printf("Create 1 session %s: ", SESSION1);
+ fflush(stdout);
ret = create_one_session(SESSION1, PATH1);
if (ret < 0) {
return -1;
PRINT_OK();
printf("Validating created session %s: ", SESSION1);
+ fflush(stdout);
tmp = session_find_by_name(SESSION1);
if (tmp == NULL) {
return -1;
PRINT_OK();
printf("Destroy 1 session %s: ", SESSION1);
+ fflush(stdout);
ret = destroy_one_session(tmp);
if (ret < 0) {
return -1;
PRINT_OK();
printf("Two session with same name: ");
+ fflush(stdout);
ret = two_session_same_name();
if (ret < 0) {
return -1;
empty_session_list();
printf("Fuzzing create_session arguments: ");
+ fflush(stdout);
ret = fuzzing_create_args();
if (ret < 0) {
return -1;
PRINT_OK();
printf("Fuzzing destroy_session argument: ");
+ fflush(stdout);
ret = fuzzing_destroy_args();
if (ret < 0) {
return -1;
PRINT_OK();
printf("Creating %d sessions: ", MAX_SESSIONS);
+ fflush(stdout);
for (i = 0; i < MAX_SESSIONS; i++) {
tmp_name = get_random_string();
ret = create_one_session(tmp_name, PATH1);
PRINT_OK();
printf("Destroying %d sessions: ", MAX_SESSIONS);
+ fflush(stdout);
for (i = 0; i < MAX_SESSIONS; i++) {
cds_list_for_each_entry_safe(iter, tmp, &session_list->head, list) {
ret = destroy_one_session(iter);