Crinit -- Configurable Rootfs Init
|
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"
Functions | |
void | crinitClientSetVerboseTestGlobOptError (void **state) |
Implementation of a unit test for crinitClientSetVerbose() with the assumption crinitGlobOptSet() fails.
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.