LCOV - code coverage report
Current view: top level - tests/src - clean.c (source / functions) Coverage Total Hit
Test: coverage.info Lines: 100.0 % 7 7
Test Date: 2026-03-01 04:31:48 Functions: 100.0 % 1 1
Branches: 50.0 % 6 3

             Branch data     Line data    Source code
       1                 :             : #include "sute.h"
       2                 :             : 
       3                 :           1 : Return clean(void)
       4                 :             : {
       5                 :           1 :         INITTEST;
       6                 :             : 
       7                 :             :         // Clear up all temporary files
       8                 :           1 :         const char *command = "chmod -R a+rwX ${TMPDIR};"
       9                 :             :                 "rm -rf ${TMPDIR};";
      10                 :             : 
      11   [ +  -  +  - ]:           1 :         ASSERT(SUCCESS == external_call(command,NULL,NULL,COMPLETED,ALLOW_BOTH));
      12                 :             : 
      13         [ +  - ]:           1 :         if(SUCCESS == status)
      14                 :             :         {
      15                 :           1 :                 echo(EXTEND,"finished");
      16                 :             :         }
      17                 :             : 
      18                 :           1 :         return(status);
      19                 :             : }
        

Generated by: LCOV version 2.0-1