Skip to content

Filehandle STDIN reopened as $fh only for output #595

@eserte

Description

@eserte

t/statocles.t fails on some of my smokers:

    # Current locale: C

        #   Failed test 'nothing on stderr'
        #   at t/statocles.t line 70.
        #          got: 'Filehandle STDIN reopened as $fh only for output at /usr/perl5.31.4p/lib/site_perl/5.31.4/Path/Tiny.pm line 1087.
        # Filehandle STDIN reopened as $fh only for output at /usr/perl5.31.4p/lib/site_perl/5.31.4/Path/Tiny.pm line 1048.
        # '
        #     expected: undef
        # Looks like you failed 1 test of 3.

    #   Failed test 'run the command'
    #   at t/statocles.t line 75.
    # Looks like you failed 1 test of 2.

#   Failed test 'handle locales on ARGV and STDIN'
#   at t/statocles.t line 95.
# Looks like you failed 1 test of 2.
t/statocles.t ................. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests 

This seems to happen with bleadperl (>=5.31.1).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions