Crinit -- Configurable Rootfs Init
utest-init-file-series.h File Reference

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

Header declaring the unit tests for crinitFreeScandirList(). More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void crinitInitFileSeriesTestSuccess (void **state)
 
void crinitInitFileSeriesTestNoMemError (void **state)
 
void crinitInitFileSeriesTestFseNullError (void **state)
 

Detailed Description

Header declaring the unit tests for crinitFreeScandirList().

Header declaring the unit tests for crinitInitFileSeries().

Header declaring the unit tests for crinitSuffixFilter().

Header declaring the unit tests for crinitStatFilter().

Function Documentation

◆ crinitInitFileSeriesTestFseNullError()

void crinitInitFileSeriesTestFseNullError ( void **  state)

Unit test for crinitInitFileSeries(), given file series is NULL.

◆ crinitInitFileSeriesTestNoMemError()

void crinitInitFileSeriesTestNoMemError ( void **  state)

Unit test for crinitInitFileSeries(), copying of base dir fails.

◆ crinitInitFileSeriesTestSuccess()

void crinitInitFileSeriesTestSuccess ( void **  state)

Unit test for crinitInitFileSeries(), successful execution.