Crinit -- Configurable Rootfs Init
case-forcedeps-null.c File Reference

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

Unit test for crinitClientTaskAdd() with forceDeps as NULL. 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-forcedeps-null.c:

Macros

#define TEST_CONFIG_FILE   "/test/config/file"
 

Functions

void crinitClientTaskAddTestForceDepsNull (void **state)
 

Variables

static crinitRtimCmd_tcrinitBuildRtimArgCmd
 
static crinitRtimCmd_tcrinitXferArgRes
 
static char * crinitXferArgResOKArgs [1] = {CRINIT_RTIMCMD_RES_OK}
 
static crinitRtimCmd_t crinitXferArgResOK
 
static struct crinitStoreRtimCmdArgs crinitXferArgResContext
 

Detailed Description

Unit test for crinitClientTaskAdd() with forceDeps as NULL.

Macro Definition Documentation

◆ TEST_CONFIG_FILE

#define TEST_CONFIG_FILE   "/test/config/file"

Function Documentation

◆ crinitClientTaskAddTestForceDepsNull()

void crinitClientTaskAddTestForceDepsNull ( void **  state)

Unit test for crinitClientTaskAdd() with forceDeps as NULL.

Variable Documentation

◆ crinitBuildRtimArgCmd

crinitRtimCmd_t* crinitBuildRtimArgCmd
static

◆ crinitXferArgRes

crinitRtimCmd_t* crinitXferArgRes
static

◆ crinitXferArgResContext

struct crinitStoreRtimCmdArgs crinitXferArgResContext
static
Initial value:
= {
}
static crinitRtimCmd_t crinitXferArgResOK
Definition: case-forcedeps-null.c:18
static crinitRtimCmd_t * crinitXferArgRes
Definition: case-forcedeps-null.c:16

◆ crinitXferArgResOK

crinitRtimCmd_t crinitXferArgResOK
static
Initial value:
= {
.op = CRINIT_RTIMCMD_R_ADDTASK, .argc = 1, .args = crinitXferArgResOKArgs}
static char * crinitXferArgResOKArgs[1]
Definition: case-forcedeps-null.c:17

◆ crinitXferArgResOKArgs

char* crinitXferArgResOKArgs[1] = {CRINIT_RTIMCMD_RES_OK}
static