[milter-manager-commit] milter-manager/milter-manager at 3f4fc0b [master] test: remove needless assertion

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Jun 20 09:10:37 JST 2017


Kouhei Sutou	2017-06-20 09:10:37 +0900 (Tue, 20 Jun 2017)

  New Revision: 3f4fc0b83f11ac3998409c8f65ad4ac48d393763
  https://github.com/milter-manager/milter-manager/commit/3f4fc0b83f11ac3998409c8f65ad4ac48d393763

  Message:
    test: remove needless assertion

  Modified files:
    test/core/test-syslog-logger.c

  Modified: test/core/test-syslog-logger.c (+2 -4)
===================================================================
--- test/core/test-syslog-logger.c    2017-06-20 04:42:51 +0900 (135b80e)
+++ test/core/test-syslog-logger.c    2017-06-20 09:10:37 +0900 (d71db71)
@@ -59,12 +59,10 @@ setup_syslog (void)
             break;
         }
     }
-    cut_set_message("syslog file name candidates: [%s]",
-                    cut_take_string(g_strjoinv(", ", candidates)));
     if (!syslog_file_name) {
-        cut_omit("syslog file name candidates not found.");
+        cut_omit("syslog file isn't found in candidates: [%s]",
+                 cut_take_string(g_strjoinv(", ", candidates)));
     }
-    cut_assert_not_null(syslog_file_name);
 
     cut_assert_equal_int(0, g_lstat(syslog_file_name, &status));
     first_log_file_size = status.st_size;
-------------- next part --------------
An HTML attachment was scrubbed...
下載 



More information about the milter-manager-commit mailing list
Back to archive index