Crinit -- Configurable Rootfs Init
case-null-input.c File Reference

(2023-10-16, commit: 49337e0)

Unit test for crinitEnvVarInnerLex() with >=1 NULL inputs. More...

#include "common.h"
#include "lexers.h"
#include "unit_test.h"
#include "utest-lexers-envset-inner.h"
Include dependency graph for case-null-input.c:

Functions

void crinitEnvVarInnerLexTestNullInput (void **state)
 

Detailed Description

Unit test for crinitEnvVarInnerLex() with >=1 NULL inputs.

Function Documentation

◆ crinitEnvVarInnerLexTestNullInput()

void crinitEnvVarInnerLexTestNullInput ( void **  state)

Tests detection of NULL pointer inputs.

crinitEnvVarInnerLex() shall fail if any pointer input parameter is NULL and/or the string in *s is NULL.