minishell/tests
Khaïs COLIN ab6a4d6368
envp_get_val: add tests + make it more consistent with envp_get_key
In particular, this is what is now changed:
 - if line is null or empty, return null
 - if line contains no =, return an empty string

This way, if non-null is returned, that means that line was valid. If null is
returned, there is either an error with line, or malloc failed.
2025-02-19 14:34:09 +01:00
..
env_manip.c envp_get_val: add tests + make it more consistent with envp_get_key 2025-02-19 14:34:09 +01:00
Makefile envp_get_key: add tests 2025-02-19 14:34:09 +01:00
metacharacters.c fix: ';' is not a metacharacter 2025-02-11 19:04:05 +01:00