mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 15:35:07 -05:00
test: fix crash when printing debug messages
This fixes commit 6cbeb107db.
This commit is contained in:
@@ -64,8 +64,12 @@ main(int argc, char **argv)
|
|||||||
printf("Testing %-30s ", test_name);
|
printf("Testing %-30s ", test_name);
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
|
|
||||||
|
LOG_Initialise();
|
||||||
|
|
||||||
test_unit();
|
test_unit();
|
||||||
|
|
||||||
|
LOG_Finalise();
|
||||||
|
|
||||||
printf("PASS\n");
|
printf("PASS\n");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user