LCOV - code coverage report
Current view: top level - lib/replace/tests - main.c (source / functions) Hit Total Coverage
Test: coverage report for abartlet/fix-coverage dd10fb34 Lines: 4 5 80.0 %
Date: 2021-09-23 10:06:22 Functions: 1 1 100.0 %

          Line data    Source code
       1             : /*
       2             :    Unix SMB/CIFS implementation.
       3             : 
       4             :    libreplace tests
       5             : 
       6             :    Copyright (C) Jelmer Vernooij 2006
       7             : 
       8             :      ** NOTE! The following LGPL license applies to the talloc
       9             :      ** library. This does NOT imply that all of Samba is released
      10             :      ** under the LGPL
      11             : 
      12             :    This library is free software; you can redistribute it and/or
      13             :    modify it under the terms of the GNU Lesser General Public
      14             :    License as published by the Free Software Foundation; either
      15             :    version 3 of the License, or (at your option) any later version.
      16             : 
      17             :    This library is distributed in the hope that it will be useful,
      18             :    but WITHOUT ANY WARRANTY; without even the implied warranty of
      19             :    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
      20             :    Lesser General Public License for more details.
      21             : 
      22             :    You should have received a copy of the GNU Lesser General Public
      23             :    License along with this library; if not, see <http://www.gnu.org/licenses/>.
      24             : */
      25             : 
      26             : #include "replace.h"
      27             : #include "replace-testsuite.h"
      28             : 
      29           3 : int main(void)
      30             : {
      31           3 :         bool ret = torture_local_replace(NULL);
      32           3 :         if (ret)
      33           3 :                 return 0;
      34           0 :         return -1;
      35             : }

Generated by: LCOV version 1.13