LCOV - code coverage report
Current view: top level - test - test-dlopen.c (source / functions) Hit Total Coverage
Test: main_coverage.info Lines: 4 4 100.0 %
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 <dlfcn.h>
       4             : #include <stdlib.h>
       5             : 
       6             : #include "macro.h"
       7             : 
       8           5 : int main(int argc, char **argv) {
       9             :         void *handle;
      10             : 
      11           5 :         assert_se(handle = dlopen(argv[1], RTLD_NOW));
      12           5 :         assert_se(dlclose(handle) == 0);
      13             : 
      14           5 :         return EXIT_SUCCESS;
      15             : }

Generated by: LCOV version 1.14