Crinit -- Configurable Rootfs Init
case-build-rtim-cmd-error.c File Reference

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

Unit test for crinitClientTaskAdd() testing error handling for crinitBuildRtimCmd(). More...

#include "common.h"
#include "crinit-client.h"
#include "rtimcmd.h"
#include "unit_test.h"
#include "utest-crinit-task-add.h"
Include dependency graph for case-build-rtim-cmd-error.c:

Macros

#define TEST_CONFIG_FILE   "/test/config/file"
 
#define TEST_FORCE_DEPS   "foo:wait"
 

Functions

void crinitClientTaskAddTestBuildRtimCmdError (void **state)
 

Variables

static crinitRtimCmd_tcrinitBuildRtimArgCmd
 

Detailed Description

Unit test for crinitClientTaskAdd() testing error handling for crinitBuildRtimCmd().

Macro Definition Documentation

◆ TEST_CONFIG_FILE

#define TEST_CONFIG_FILE   "/test/config/file"

◆ TEST_FORCE_DEPS

#define TEST_FORCE_DEPS   "foo:wait"

Function Documentation

◆ crinitClientTaskAddTestBuildRtimCmdError()

void crinitClientTaskAddTestBuildRtimCmdError ( void **  state)

Unit test for crinitClientTaskAdd() testing error handling for crinitBuildRtimCmd().

Variable Documentation

◆ crinitBuildRtimArgCmd

crinitRtimCmd_t* crinitBuildRtimArgCmd
static