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

(/usr/bin/git 2024-02-13, commit: 7f2e9f3)

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.