diff --git a/test/test_logging.c b/test/test_logging.c index 0e7d98f..2b8a703 100644 --- a/test/test_logging.c +++ b/test/test_logging.c @@ -254,6 +254,7 @@ START_TEST (test_logfile_full_filesystem) .cnt = 1, }; struct uc_log_destination *dest; + int i; uc_log_init(&mods); @@ -262,9 +263,11 @@ START_TEST (test_logfile_full_filesystem) fail_if(dest == NULL, "Cannot open /dev/full"); uc_log_add_destination(dest); - UC_LOGF(UC_LL_DEBUG, 0, "Lorum ipson %d\n", 1); - UC_LOGF(UC_LL_WARNING, 0, "Lorum ipson %d\n", 1); - UC_LOGF(UC_LL_INFO, 0, "Lorum ipson %d\n", 1); + for(i = 0; i < 1024; i++) { + UC_LOGF(UC_LL_DEBUG, 0, "Lorum ipson %d\n", 1); + UC_LOGF(UC_LL_WARNING, 0, "Lorum ipson %d\n", 1); + UC_LOGF(UC_LL_INFO, 0, "Lorum ipson %d\n", 1); + } END_TEST