Crinit -- Configurable Rootfs Init
case-success.c File Reference

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

Implementation of a unit test for crinitClientSetVerbose(), under the assumption no internal function calls fail. More...

#include "common.h"
#include "crinit-client.h"
#include "mock-glob-opt-set-boolean.h"
#include "unit_test.h"
#include "utest-crinit-set-verbose.h"
Include dependency graph for case-success.c:

Functions

void crinitClientSetVerboseTestSuccess (void **state)
 

Detailed Description

Implementation of a unit test for crinitClientSetVerbose(), under the assumption no internal function calls fail.

Function Documentation

◆ 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.