mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-26 02:19:26 +01: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:
parent
922506105e
commit
1927e40fd0
@ -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++;
|
||||||
|
Loading…
Reference in New Issue
Block a user