Crinit -- Configurable Rootfs Init
|
Unit test for crinitEnvVarInnerLex(), successful execution. More...
#include "common.h"
#include "lexers.h"
#include "string.h"
#include "unit_test.h"
#include "utest-lexers-envset-inner.h"
Macros | |
#define | CRINIT_UTEST_DUMMY_ENVVAR_NAME "SOME_VAR" |
Functions | |
void | crinitEnvVarInnerLexTestSuccess (void **state) |
Unit test for crinitEnvVarInnerLex(), successful execution.
#define CRINIT_UTEST_DUMMY_ENVVAR_NAME "SOME_VAR" |
void crinitEnvVarInnerLexTestSuccess | ( | void ** | state | ) |
Tests successful lex-ing of valid inputs.
All possible return values of crinitEnvVarInnerLex() save for CRINIT_TK_ERR are triggered using accordingly built input strings.