test-mu-cmd: better log failure

Some test fails on Ubuntu (in Github CI), though not locally.
This commit is contained in:
Dirk-Jan C. Binnema 2022-02-26 11:10:25 +02:00
parent 5c43a93027
commit 724e0fd03a
1 changed files with 127 additions and 126 deletions

View File

@ -583,9 +583,10 @@ test_mu_view_01(void)
* Added 350 as 'okay', which comes with gmime 2.4.24 (ubuntu 10.04)
*/
len = strlen(output);
/* g_print ("\n[%s] (%d)\n", output, len); */
g_assert(len > 349);
if (len < 349) {
g_print ("\n[%s] (%d)\n", output, len);
}
g_assert_cmpuint(len, >, 349);
g_free(output);
g_free(cmdline);
g_free(tmpdir);