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

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

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

#include <stdlib.h>
#include <string.h>
#include "common.h"
#include "confhdl.h"
#include "unit_test.h"
#include "utest-crinit-cfg-user-handler.h"
Include dependency graph for case-success.c:

Functions

void crinitCfgUserHandlerTestNumericSuccess (void **state)
 
void crinitCfgUserHandlerTestAlphaInputSuccess (void **state)
 

Detailed Description

Unit test for crinitCfgUserHandler(), successful execution.

Function Documentation

◆ crinitCfgUserHandlerTestAlphaInputSuccess()

void crinitCfgUserHandlerTestAlphaInputSuccess ( void **  state)

Tests successful parsing of a alphabetical user name (e.g. "www-run") instead of an ID.

◆ crinitCfgUserHandlerTestNumericSuccess()

void crinitCfgUserHandlerTestNumericSuccess ( void **  state)

Tests successful parsing of a numeric user ID.