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

[Perl/perl5] f29bc1: skip testing .github/README.md if doesn'tappear t...

From:
Tony Cook via perl5-changes
Date:
November 11, 2022 21:28
Subject:
[Perl/perl5] f29bc1: skip testing .github/README.md if doesn'tappear t...
Message ID:
Perl/perl5/push/refs/heads/blead/d7c0b5-f29bc1@github.com
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: f29bc1413d76f0960f58d4a3c04b75d4680688c1
      https://github.com/Perl/perl5/commit/f29bc1413d76f0960f58d4a3c04b75d4680688c1
  Author: Tony Cook <tony@develop-help.com>
  Date:   2022-11-12 (Sat, 12 Nov 2022)

  Changed paths:
    M t/porting/copyright.t

  Log Message:
  -----------
  skip testing .github/README.md if doesn't appear to be a README

git on windows at least of 2.37.1 does not checkout symbolic links
as symbolic links, leaving them as files containing the filename
linked to.

This meant this test against .github/README.md failed, since it only
contained "../README": nothing that appears to be a copyright message

I considered testing that .github/README.md was a symbolic link
but 8975221916 suggests that it may eventually become more distinct
from the root README file, so instead check its size.





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