Crinit -- Configurable Rootfs Init
|
Unit test for crinitClientTaskAdd(), successful execution. More...
#include "common.h"
#include "lexers.h"
#include "string.h"
#include "unit_test.h"
#include "utest-lexers-envset-outer.h"
Macros | |
#define | CRINIT_DUMMY_ENVIRONMENT_VALUE "Some quoted value with $VAR\\x2e" |
Functions | |
void | crinitEnvVarOuterLexTestSuccess (void **state) |
Unit test for crinitClientTaskAdd(), successful execution.
#define CRINIT_DUMMY_ENVIRONMENT_VALUE "Some quoted value with $VAR\\x2e" |
void crinitEnvVarOuterLexTestSuccess | ( | void ** | state | ) |
Tests successful lex-ing of valid inputs.
All possible return values of crinitEnvVarOuterLex() save for CRINIT_TK_ERR are triggered using accordingly built input strings.