LCOV - code coverage report
Current view: top level - lib/talloc - testsuite_main.c (source / functions) Hit Total Coverage
Test: coverage report for master 2f515e9b Lines: 4 5 80.0 %
Date: 2024-04-21 15:09:00 Functions: 1 1 100.0 %

          Line data    Source code
       1             : /*
       2             :    Unix SMB/CIFS implementation.
       3             : 
       4             :    local testing of talloc routines.
       5             : 
       6             :    Copyright (C) Andrew Tridgell 2004
       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             : 
      28             : #include "talloc_testsuite.h"
      29             : 
      30           1 : int main(void)
      31             : {
      32           1 :         bool ret = torture_local_talloc(NULL);
      33           1 :         if (!ret)
      34           0 :                 return -1;
      35           1 :         return 0;
      36             : }

Generated by: LCOV version 1.14