Crinit -- Configurable Rootfs Init
Loading...
Searching...
No Matches
case-glob-opt-error.c File Reference

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

Implementation of a unit test for crinitClientSetVerbose() with the assumption crinitGlobOptSet() fails. 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-glob-opt-error.c:

Functions

void crinitClientSetVerboseTestGlobOptError (void **state)
 

Detailed Description

Implementation of a unit test for crinitClientSetVerbose() with the assumption crinitGlobOptSet() fails.

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.