Crinit -- Configurable Rootfs Init
case-no-mem-error.c File Reference

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

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