Add tests for mu_str_expand and mu_str_vexpand functions
* libmailutils/string/expvar.c (exp_shell): Fix out-of-buffer read when used without arguments. (mu_str_expand): Improve error handling. * libmailutils/tests/testsuite.at (MU_GENERIC_TEST_CMD): New macro. Include exp.at * libmailutils/tests/vexp.c: New file. * libmailutils/tests/Makefile.am: Build vexp. Add exp.at * libmailutils/tests/exp.at: New file.
Showing
7 changed files
with
174 additions
and
7 deletions
libmailutils/tests/exp.at
0 → 100644
libmailutils/tests/vexp.c
0 → 100644
-
Please register or sign in to post a comment