Crinit -- Configurable Rootfs Init
utest-crinit-set-verbose.h File Reference

(2023-10-16, commit: 49337e0)

Header declaring the unit tests for crinitClientSetVerbose(). More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void crinitClientSetVerboseTestGlobOptError (void **state)
 
void crinitClientSetVerboseTestSuccess (void **state)
 

Detailed Description

Header declaring the unit tests for crinitClientSetVerbose().

Function Documentation

◆ crinitClientSetVerboseTestGlobOptError()

void crinitClientSetVerboseTestGlobOptError ( void **  state)

Unit test for crinitClientSetVerbose(), unsuccessful case (failure of crinitGlobOptSet()).

Checks that the right values are delivered to crinitGlobOptSet() and that -1 is returned.

◆ crinitClientSetVerboseTestSuccess()

void crinitClientSetVerboseTestSuccess ( void **  state)

Unit test for crinitClientSetVerbose(), successful case.

Checks that the right values are delivered to crinitGlobOptSet() and that 0 is returned.