TEST_ASSERT(strlen(optarg) > 0,
"Config file name is null");
- snprintf(tp->test_vector_filename,
- sizeof(tp->test_vector_filename),
- "%s", optarg);
+ strlcpy(tp->test_vector_filename, optarg,
+ sizeof(tp->test_vector_filename));
break;
case 'l':
TEST_ASSERT(strlen(optarg) > 0,
return 1;
}
- rte_log_set_global_level(RTE_LOG_INFO);
-
/* If no argument provided - run all tests */
if (test_params.num_tests == 0)
return run_all_tests();