maxishell
Implementation of a shell for Linux-like systems
|
Go to the source code of this file.
Functions | |
void | env_tests (t_ms_data *data, char **envp) |
void | test_init_env (t_ms_data *data, char **envp) |
void | test_get_env (t_ms_data *data, char **envp) |
void | test_set_env (t_ms_data *data, char **envp) |
void | test_unset_env (t_ms_data *data) |
void env_tests | ( | t_ms_data * | data, |
char ** | envp | ||
) |
Definition at line 25 of file env_test.c.
References s_ms_data::envp, free_env(), ft_printf(), test_get_env(), test_init_env(), test_set_env(), and test_unset_env().
Referenced by main().
void test_get_env | ( | t_ms_data * | data, |
char ** | envp | ||
) |
Definition at line 57 of file env_test.c.
References s_ms_data::envp, ft_printf(), ft_strcmp(), get_env(), and init_env().
Referenced by env_tests().
void test_init_env | ( | t_ms_data * | data, |
char ** | envp | ||
) |
Definition at line 35 of file env_test.c.
References env_to_array(), s_ms_data::envp, ft_printf(), and init_env().
Referenced by env_tests().
void test_set_env | ( | t_ms_data * | data, |
char ** | envp | ||
) |
Definition at line 72 of file env_test.c.
References s_ms_data::envp, ft_printf(), ft_strcmp(), get_env(), init_env(), and set_env().
Referenced by env_tests().
void test_unset_env | ( | t_ms_data * | data | ) |
Definition at line 88 of file env_test.c.
References s_ms_data::envp, ft_printf(), ft_strcmp(), get_env(), set_env(), and unset_env().
Referenced by env_tests().