Crinit -- Configurable Rootfs Init
|
Unit test for crinitEnvVarInnerLex() testing error handling of the lexer. More...
#include "common.h"
#include "lexers.h"
#include "unit_test.h"
#include "utest-lexers-envset-inner.h"
Functions | |
void | crinitEnvVarInnerLexTestLexerError (void **state) |
Unit test for crinitEnvVarInnerLex() testing error handling of the lexer.
void crinitEnvVarInnerLexTestLexerError | ( | void ** | state | ) |
Tests cases leading to a lexer error (CRINIT_TK_ERR).
For crinitEnvVarInnerLex() that can only happen if the input string starts with a character not allowed in an environment key AND is not an opening double quote.