develooper Front page | perl.perl5.changes | Postings from November 2022

[Perl/perl5] 1583e7: t/op/readline.t: skip error handling checks onsol...

From:
Tony Cook via perl5-changes
Date:
November 23, 2022 02:21
Subject:
[Perl/perl5] 1583e7: t/op/readline.t: skip error handling checks onsol...
Message ID:
Perl/perl5/push/refs/heads/blead/093b55-1583e7@github.com
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 1583e75a5f94a49e1c1483b2e81e7ca98fd977db
      https://github.com/Perl/perl5/commit/1583e75a5f94a49e1c1483b2e81e7ca98fd977db
  Author: Tony Cook <tony@develop-help.com>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

  Changed paths:
    M t/op/readline.t

  Log Message:
  -----------
  t/op/readline.t: skip error handling checks on solaris with PERLIO=stdio

In this test, readline() calls down into PerlIOStdio_read(), which
uses fgetc() for a single character read, which fails as expected.

But fgetc() doesn't set the error flag on the stream, so the error
flag test and the close() test fail.

So skip the tests.





nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About