LCOV - code coverage report
Current view: top level - tests - close-test.c (source / functions) Hit Total Coverage
Test: lcov.out Lines: 2 2 100.0 %
Date: 2012-07-17 Functions: 1 1 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : #ifdef HAVE_CONFIG_H
       2                 :            : #include <config.h>
       3                 :            : #endif
       4                 :            : 
       5                 :            : #include <unistd.h>
       6                 :            : #include <fcntl.h>
       7                 :            : 
       8                 :            : #include <pulsecore/core-util.h>
       9                 :            : 
      10                 :          1 : int main(int argc, char *argv[]) {
      11                 :            : 
      12                 :            :     open("/dev/null", O_RDONLY);
      13                 :            :     open("/dev/null", O_RDONLY);
      14                 :            :     open("/dev/null", O_RDONLY);
      15                 :            :     open("/dev/null", O_RDONLY);
      16                 :            : 
      17                 :          1 :     pa_close_all(5, -1);
      18                 :            : 
      19                 :            :     return 0;
      20                 :            : }

Generated by: LCOV version 1.9