test: fix crash when printing debug messages

This fixes commit 6cbeb107db.
This commit is contained in:
Miroslav Lichvar 2017-06-26 18:35:57 +02:00
parent 17f32c266e
commit 1872d4d195

View file

@ -64,8 +64,12 @@ main(int argc, char **argv)
printf("Testing %-30s ", test_name);
fflush(stdout);
LOG_Initialise();
test_unit();
LOG_Finalise();
printf("PASS\n");
return 0;