LCOV - code coverage report
Current view: top level - test - test-hostname.c (source / functions) Hit Total Coverage
Test: systemd_full.info Lines: 0 5 0.0 %
Date: 2019-08-23 13:36:53 Functions: 0 1 0.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 4 0.0 %

           Branch data     Line data    Source code
       1                 :            : /* SPDX-License-Identifier: LGPL-2.1+ */
       2                 :            : 
       3                 :            : #include "hostname-setup.h"
       4                 :            : #include "util.h"
       5                 :            : 
       6                 :          0 : int main(int argc, char* argv[]) {
       7                 :            :         int r;
       8                 :            : 
       9                 :          0 :         r = hostname_setup();
      10         [ #  # ]:          0 :         if (r < 0)
      11         [ #  # ]:          0 :                 log_error_errno(r, "hostname: %m");
      12                 :            : 
      13                 :          0 :         return 0;
      14                 :            : }

Generated by: LCOV version 1.14