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

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

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.