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

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

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

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

Functions

void crinitEnvVarOuterLexTestNullInput (void **state)
 

Detailed Description

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

Function Documentation

◆ crinitEnvVarOuterLexTestNullInput()

void crinitEnvVarOuterLexTestNullInput ( void **  state)

Tests detection of NULL pointer inputs.

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