LCOV - code coverage report
Current view: top level - test - test-loopback.c (source / functions) Hit Total Coverage
Test: main_coverage.info Lines: 5 6 83.3 %
Date: 2019-08-22 15:41:25 Functions: 1 1 100.0 %

          Line data    Source code
       1             : /* SPDX-License-Identifier: LGPL-2.1+ */
       2             : 
       3             : #include <stdio.h>
       4             : #include <string.h>
       5             : 
       6             : #include "log.h"
       7             : #include "loopback-setup.h"
       8             : #include "tests.h"
       9             : 
      10           1 : int main(int argc, char* argv[]) {
      11             :         int r;
      12             : 
      13           1 :         test_setup_logging(LOG_DEBUG);
      14             : 
      15           1 :         r = loopback_setup();
      16           1 :         if (r < 0)
      17           0 :                 log_error_errno(r, "loopback: %m");
      18             : 
      19           1 :         return r >= 0 ? EXIT_SUCCESS : EXIT_FAILURE;
      20             : }

Generated by: LCOV version 1.14