|
Crinit -- Configurable Rootfs Init
|
Unit test for crinitEnvVarOuterLex() testing error handling of the lexer. More...
#include "common.h"#include "lexers.h"#include "unit_test.h"#include "utest-lexers-envset-outer.h"
Functions | |
| void | crinitEnvVarOuterLexTestLexerError (void **state) |
Unit test for crinitEnvVarOuterLex() testing error handling of the lexer.
| void crinitEnvVarOuterLexTestLexerError | ( | void ** | state | ) |
Tests cases leading to a lexer error (CRINIT_TK_ERR).
For crinitEnvVarOuterLex() 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.