LCOV - code coverage report
Current view: top level - minipot/tests/unit - fixtures.c (source / functions) Hit Total Coverage
Test: sentinel-minipot-2.3.0 Code Coverage Lines: 0 8 0.0 %
Date: 2022-11-27 17:36:11 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : // SPDX-License-Identifier: GPL-3.0-or-later
       2             : // Copyright 2021, CZ.NIC z.s.p.o. (http://www.nic.cz/)
       3             : #include <errno.h>
       4             : #include <check.h>
       5             : #include "fixtures.h"
       6             : 
       7             : struct obstack t_obstack;
       8             : 
       9             : 
      10           0 : void basic_setup() {
      11           0 :         obstack_init(&t_obstack);
      12             : 
      13           0 :         errno = 0; // Set to 0 to reset any previous possible error
      14           0 : }
      15             : 
      16           0 : void basic_teardown() {
      17           0 :         ck_assert_int_eq(errno, 0);
      18             : 
      19           0 :         obstack_free(&t_obstack, NULL);
      20           0 : }

Generated by: LCOV version 1.16