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