|
Crinit -- Configurable Rootfs Init
|
Unit test for crinitEnvSetDestroy(), successful execution. More...
#include <stdio.h>#include "common.h"#include "envset.h"#include "string.h"#include "unit_test.h"#include "utest-envset-destroy.h"
Macros | |
| #define | CRINIT_DUMMY_INITIALIZED_ELEMENTS (CRINIT_ENVSET_INITIAL_SIZE / 2uL) |
Functions | |
| void | crinitEnvSetDestroyTestSuccess (void **state) |
Unit test for crinitEnvSetDestroy(), successful execution.
| #define CRINIT_DUMMY_INITIALIZED_ELEMENTS (CRINIT_ENVSET_INITIAL_SIZE / 2uL) |
| void crinitEnvSetDestroyTestSuccess | ( | void ** | state | ) |
Tests successful desruction of an environment set.
Will check that all allocated pointers in the EnvSet are freed.