Crinit -- Configurable Rootfs Init
Loading...
Searching...
No Matches
case-no-mem-error.c File Reference

(/usr/bin/git 2023-11-27, commit: 8a6f621)

Unit test for crinitFileSeriesFromStrArr(), strdup returns NULL. More...

#include <stdio.h>
#include "common.h"
#include "fseries.h"
#include "unit_test.h"
Include dependency graph for case-no-mem-error.c:

Functions

static void crinitTestVariant (size_t numElements)
 
void crinitFileSeriesFromStrArrTestNoMemError (void **state)
 

Detailed Description

Unit test for crinitFileSeriesFromStrArr(), strdup returns NULL.

Function Documentation

◆ crinitFileSeriesFromStrArrTestNoMemError()

void crinitFileSeriesFromStrArrTestNoMemError ( void **  state)

Unit test for crinitFileSeriesFromStrArr(), when strdup returns NULL.

◆ crinitTestVariant()

static void crinitTestVariant ( size_t  numElements)
static