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

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

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

Macros

#define TEST_CONFIG_FILE   "/test/config/file"
 

Functions

void crinitClientTaskAddTestForceDepsEmpty (void **state)
 

Variables

static crinitRtimCmd_tcrinitBuildRtimArgCmd
 
static crinitRtimCmd_tcrinitXferArgRes
 
static char * crinitXferArgResOKArgs [1] = {CRINIT_RTIMCMD_RES_OK}
 
static crinitRtimCmd_t crinitXferArgResOK = {.op = CRINIT_RTIMCMD_R_ADDTASK, .argc = 1, .args = crinitXferArgResOKArgs}
 
static struct crinitStoreRtimCmdArgs crinitXferArgResContext
 

Detailed Description

Unit test for crinitClientTaskAdd() with forceDeps as empty string.

Macro Definition Documentation

◆ TEST_CONFIG_FILE

#define TEST_CONFIG_FILE   "/test/config/file"

Function Documentation

◆ crinitClientTaskAddTestForceDepsEmpty()

void crinitClientTaskAddTestForceDepsEmpty ( void **  state)

Unit test for crinitClientTaskAdd() with forceDeps as empty string.

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-empty.c:18
static crinitRtimCmd_t * crinitXferArgRes
Definition case-forcedeps-empty.c:16

◆ crinitXferArgResOK

crinitRtimCmd_t crinitXferArgResOK = {.op = CRINIT_RTIMCMD_R_ADDTASK, .argc = 1, .args = crinitXferArgResOKArgs}
static

◆ crinitXferArgResOKArgs

char* crinitXferArgResOKArgs[1] = {CRINIT_RTIMCMD_RES_OK}
static