Crinit -- Configurable Rootfs Init
regression-test.c File Reference

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

Implementation of a regression test to check the FILE_BASENAME macro. More...

#include <libgen.h>
#include <stdlib.h>
#include <string.h>
#include "common.h"
#include "logio.h"
#include "unit_test.h"
#include "utest-file-basename-macro.h"
Include dependency graph for regression-test.c:

Functions

void crinitFileBasenameMacroRegressionTest (void **state)
 

Detailed Description

Implementation of a regression test to check the FILE_BASENAME macro.

Function Documentation

◆ crinitFileBasenameMacroRegressionTest()

void crinitFileBasenameMacroRegressionTest ( void **  state)

Regression test for FILE_BASENAME macro.

Checks that the macro is present and only shows the file's basename and not its whole path.