Re: git: 9d51ef052422 - main - misc/shared-mime-info: mark TESTING_UNSAFE

From: Daniel Engberg <daniel.engberg.lists_at_pyret.net>
Date: Mon, 01 Apr 2024 17:58:55 UTC
On 2024-04-01T19:42:36.000+02:00, Matthias Andree <matthias.andree@tu-dortmund.de> wrote:
>  Am 01.04.24 um 19:39 schrieb Gleb Popov:
> 
> >    On Mon, Apr 1, 2024 at 8:36 PM Matthias Andree <mandree@freebsd.org> wrote:
> > 
> > >    diff --git a/misc/shared-mime-info/Makefile b/misc/shared-mime-info/Makefile
> > >  index b14aecb78c3d..f6829652a767 100644
> > >  --- a/misc/shared-mime-info/Makefile
> > >  +++ b/misc/shared-mime-info/Makefile
> > >  @@ -32,6 +32,7 @@ SHEBANG_FILES=        ${WRKSRC}/tests/compare_iana.py \
> > >                   ${WRKSRC}/tests/mime-detection/test3.py \
> > >                   ${WRKSRC}/tests/test_case.py \
> > >                   ${WRKSRC}/tests/test_sub_class_ofs.py
> > >  +TESTING_UNSAFE=        yes # env: bash: No such file or directory
> >   This probably can be easily fixed by adding TEST_DEPENDS= bash:shells/bash
>  
> That's what I thought and tried, but the error remained. Possibly needs 
LOCALBASE or PATH hacks or similar.

You're missing TEST_DEPENDS=   bash:shells/bash ? :-)

test-mime fails with (didn't look into it)
test.py, 'data' test: expected text/x-python, got text/x-python3
test.py, 'file' test: expected text/x-python, got text/x-python3

Best regards,
Daniel