Crinit -- Configurable Rootfs Init
Loading...
Searching...
No Matches
case-success.c File Reference

(/usr/bin/git 2025-02-19, commit: d5026b2)

Unit test for crinitCfgLauncherCmdHandler(), successful execution. More...

#include <stdlib.h>
#include <string.h>
#include "common.h"
#include "confhdl.h"
#include "globopt.h"
#include "unit_test.h"
#include "utest-crinit-cfg-launch-cmd-handler.h"
Include dependency graph for case-success.c:

Macros

#define TRUE_CMD   "/bin/true"
 

Functions

void crinitCfgLauncherCmdHandlerTestExistingExecutableSuccess (void **state)
 
void crinitCfgLauncherCmdDefaultValue (void **state)
 

Detailed Description

Unit test for crinitCfgLauncherCmdHandler(), successful execution.

Macro Definition Documentation

◆ TRUE_CMD

#define TRUE_CMD   "/bin/true"

Function Documentation

◆ crinitCfgLauncherCmdDefaultValue()

void crinitCfgLauncherCmdDefaultValue ( void **  state)

Tests default value.

◆ crinitCfgLauncherCmdHandlerTestExistingExecutableSuccess()

void crinitCfgLauncherCmdHandlerTestExistingExecutableSuccess ( void **  state)

Tests successful parsing of an existing executable.