Coding style change
This commit is contained in:
+4
-2
@@ -263,7 +263,7 @@ START_TEST (test_logfile_full_filesystem)
|
||||
fail_if(dest == NULL, "Cannot open /dev/full");
|
||||
uc_log_add_destination(dest);
|
||||
|
||||
for(i = 0; i < 1024; i++) {
|
||||
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);
|
||||
@@ -374,11 +374,13 @@ Suite *logging_suite(void)
|
||||
tcase_add_test(tc1, test_logfile_loglevel_surpressed_module);
|
||||
tcase_add_test(tc1, test_logfile_reopen_files);
|
||||
tcase_add_test(tc1, test_logfile_remove_dest);
|
||||
if(access("/dev/full", R_OK) == 0) {
|
||||
|
||||
if (access("/dev/full", R_OK) == 0) {
|
||||
tcase_add_test(tc1, test_logfile_full_filesystem);
|
||||
} else {
|
||||
puts("Cannot access /dev/full. Not testing test_logfile_full_filesystem");
|
||||
}
|
||||
|
||||
tcase_add_test(tc1, test_logfile_invalid_file);
|
||||
tcase_add_test(tc2, test_logfile_invalid_file_after_reopen);
|
||||
tcase_add_test(tc1, test_logfile_raw);
|
||||
|
||||
Reference in New Issue
Block a user