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

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

Unit test for crinitResizeFileSeries(), realloc returns NULL. More...

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

Functions

void crinitResizeFileSeriesTestNoMemError (void **state)
 

Detailed Description

Unit test for crinitResizeFileSeries(), realloc returns NULL.

Function Documentation

◆ crinitResizeFileSeriesTestNoMemError()

void crinitResizeFileSeriesTestNoMemError ( void **  state)

Unit test for crinitResizeFileSeries(), fails to reallocate memory.