Crinit -- Configurable Rootfs Init
Loading...
Searching...
No Matches
case-success.c File Reference

(/usr/bin/git 2024-02-13, commit: 5a1c351)

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"
Include dependency graph for case-success.c:

Functions

void crinitKernelCmdlineLexTestSuccess (void **state)
 

Detailed Description

Unit test for crinitKernelCmdlineLex(), successful execution.

Function Documentation

◆ crinitKernelCmdlineLexTestSuccess()

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.