Crinit -- Configurable Rootfs Init
case-success.c File Reference

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

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

#include "common.h"
#include "envset.h"
#include "string.h"
#include "unit_test.h"
#include "utest-envset-dup.h"
Include dependency graph for case-success.c:

Macros

#define UTEST_ENVSET_DUP_ORIG_SET_ALLOCSIZE   8uL
 
#define UTEST_ENVSET_DUP_ORIG_SET_ELEMENTS   (UTEST_ENVSET_DUP_ORIG_SET_ALLOCSIZE - 3uL)
 

Functions

void crinitEnvSetDupTestSuccess (void **state)
 

Detailed Description

Unit test for crinitEnvSetDup(), successful execution.

Macro Definition Documentation

◆ UTEST_ENVSET_DUP_ORIG_SET_ALLOCSIZE

#define UTEST_ENVSET_DUP_ORIG_SET_ALLOCSIZE   8uL

◆ UTEST_ENVSET_DUP_ORIG_SET_ELEMENTS

#define UTEST_ENVSET_DUP_ORIG_SET_ELEMENTS   (UTEST_ENVSET_DUP_ORIG_SET_ALLOCSIZE - 3uL)

Function Documentation

◆ crinitEnvSetDupTestSuccess()

void crinitEnvSetDupTestSuccess ( void **  state)

Tests successful duplication of an environment set.