3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-04 02:18:49 +02:00

test-runner: fix garbage output on test start

I missed this on a previous commit fixing the same issue with printing
the test results. This fixes garbage output on lines in between test
runs.
This commit is contained in:
James Prestwood 2019-01-17 13:42:00 -08:00 committed by Denis Kenzior
parent 922506105e
commit 1927e40fd0

View File

@ -1635,6 +1635,7 @@ static void set_config_cycle_info(const char *config_dir_path,
struct test_stats *test_stats; struct test_stats *test_stats;
memset(sep_line, '_', sizeof(sep_line) - 1); memset(sep_line, '_', sizeof(sep_line) - 1);
sep_line[sizeof(sep_line) - 1] = '\0';
config_name_ptr = strrchr(config_dir_path, '/'); config_name_ptr = strrchr(config_dir_path, '/');
config_name_ptr++; config_name_ptr++;