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

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

Unit test for crinitFileSeriesFromDir(), given malloc fails. More...

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

Functions

void crinitFileSeriesFromDirNoMemError (void **state)
 

Detailed Description

Unit test for crinitFileSeriesFromDir(), given malloc fails.

Function Documentation

◆ crinitFileSeriesFromDirNoMemError()

void crinitFileSeriesFromDirNoMemError ( void **  state)

Unit test for crinitFileSeriesFromDir(), malloc error.