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 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.