Crinit -- Configurable Rootfs Init
Loading...
Searching...
No Matches
utest-crinit-set-verbose.h File Reference

(/usr/bin/git 2023-11-27, commit: bad6102)

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.