Re: SOLVED: [mlmmj] make check fail for 1.4.0.a2

Baptiste Daroussin <[email protected]> Mon, 03 Jul 2023 07:03:12 +0000
Newsgroups org.mlmmj.mlmmj
Message-ID <yhxd24yiny5xm6qk5hd2mntvk2d3d5vastqhgcb4z4wqayfnxy@kv6td2v6lph7>
On Sun, Jul 02, 2023 at 07:46:45PM +0200, Franky Van Liedekerke wrote:
> My tests still fail on 4 checks:
> 
> mlmmj:generate_subconfirm  ->  failed: atf-c/utils.c:81: Cannot open
> atf_utils_fork_out.txt  [0.048s]
> mlmmj:generate_subscription  ->  failed: atf-c/utils.c:81: Cannot open
> atf_utils_fork_out.txt  [0.049s]
> mlmmj:notify_sub  ->  failed: atf-c/utils.c:81: Cannot open
> atf_utils_fork_out.txt  [0.047s]
> mlmmj:send_help  ->  failed: atf-c/utils.c:81: Cannot open
> atf_utils_fork_out.txt  [0.052s]
> 
> Running on latest fedora 38, all updates installed (not running as root as
> well, but a regular user account used for compiling)
> 
> After running make check via strace, it seems atf fails because of nopenope
> not existing. I never heard of this program, but then I found this in
> ./tests/mlmmj.c:
> 
>  ./tests/mlmmj.c:        exec_or_die("/usr/bin/nopenope", NULL);
> ./tests/mlmmj.c:    atf_utils_wait(p, 1, "", "mlmmj: Execution failed for
> '/usr/bin/nopenope': No such file or directory\n");
> ./tests/mlmmj.c:    int val = exec_and_wait("/usr/bin/nopenope", NULL);
> 
> I don't know why tests/mlmmj.c searches for this weird command :-)

here we are testing a non existing command execution, so what you see is
expected.

there are 4 unit tests not working on fedora 37 according to my CI, I am
investigating them:

https://builds.sr.ht/~bapt/job/1017633

Best regards,
Bapt