• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mknos / PerlPowerTools / 10379399968
73%
master: 62%

Build:
Build:
LAST BUILD BRANCH: head-nplus
DEFAULT BRANCH: master
Ran 14 Aug 2024 12:43AM UTC
Jobs 10
Files 3
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Aug 2024 12:41AM UTC coverage: 73.805% (+0.7%) from 73.069%
10379399968

push

github

web-flow
patch: chdir happens too late

* When testing against GNU and OpenBSD patch commands I found that -d DIR in this version is interpreted after reading a patch file
* The standard says -d is interpreted "before processing" [1]
* Match the other versions of patch and do chdir() as early as possible:
A) Failure to chdir() will terminate the program before any input is read
B) If -d option is used, files in the argument list are relative to that directory not to the originating directory
* test1: "perl patch -d ... a.c" --> fail: no such dir
* test2: "patch -d .. a.c a.diff" --> patch ../a.c with ../a.diff

1. https://pubs.opengroup.org/onlinepubs/007904975/utilities/patch.html

355 of 481 relevant lines covered (73.8%)

47092.15 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10379399968.1 14 Aug 2024 12:43AM UTC 0
73.07
GitHub Action Run
2 10379399968.2 14 Aug 2024 12:43AM UTC 0
73.07
GitHub Action Run
3 10379399968.3 14 Aug 2024 12:43AM UTC 0
73.07
GitHub Action Run
4 10379399968.4 14 Aug 2024 12:43AM UTC 0
73.07
GitHub Action Run
5 10379399968.5 14 Aug 2024 12:43AM UTC 0
73.07
GitHub Action Run
6 10379399968.6 14 Aug 2024 12:43AM UTC 0
73.07
GitHub Action Run
7 10379399968.7 14 Aug 2024 12:43AM UTC 0
73.07
GitHub Action Run
8 10379399968.8 14 Aug 2024 12:43AM UTC 0
73.07
GitHub Action Run
9 10379399968.9 14 Aug 2024 12:43AM UTC 0
73.07
GitHub Action Run
10 10379399968.10 14 Aug 2024 12:44AM UTC 0
73.07
GitHub Action Run
Source Files on build 10379399968
Detailed source file information is not available for this build.
  • Back to Repo
  • 10adf2f1 on github
  • Prev Build on master (#10370300765)
  • Next Build on patch-chdir (#10379399963)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc