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

mknos / PerlPowerTools / 12576418029
72%
master: 62%

Build:
Build:
LAST BUILD BRANCH: head-nplus
DEFAULT BRANCH: master
Ran 02 Jan 2025 01:57AM 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

02 Jan 2025 01:54AM UTC coverage: 73.196%. Remained the same
12576418029

push

github

web-flow
mkdir: suppress multiple errors for non-directory argument

* Previously if running "mkdir -p", and the 1st part of an argument is not a directory, the program would attempt to call mkdir() on the intermediate paths under it
* So if I have regular file 0, "mkdir -p 0/1/2" would show 3 errors because of mkdir("0/1") and mkdir("0/1/2")
* Restructure the program so ARGV can remain as a list of directories (now we don't need the explanation comment for the old confusing code)
* For -p flag, split directory into parts, calling a create_dir() function for each part
* split_dir() handles the case where the 1st part is not a directory, and drops the sub-directory parts

%touch 0
%perl mkdir -p 0/1/2 00 aa/bb/cc
mkdir: cannot create directory '0': File exists

%find 00 aa # everything was created except for 0/...
00
aa
aa/bb
aa/bb/cc

355 of 485 relevant lines covered (73.2%)

46705.41 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12576418029.1 02 Jan 2025 01:57AM UTC 0
72.46
GitHub Action Run
2 12576418029.2 02 Jan 2025 01:57AM UTC 0
72.46
GitHub Action Run
3 12576418029.3 02 Jan 2025 01:57AM UTC 0
72.46
GitHub Action Run
4 12576418029.4 02 Jan 2025 01:57AM UTC 0
72.46
GitHub Action Run
5 12576418029.5 02 Jan 2025 01:57AM UTC 0
72.46
GitHub Action Run
6 12576418029.6 02 Jan 2025 01:57AM UTC 0
72.46
GitHub Action Run
7 12576418029.7 02 Jan 2025 01:57AM UTC 0
72.46
GitHub Action Run
8 12576418029.8 02 Jan 2025 01:57AM UTC 0
72.46
GitHub Action Run
9 12576418029.9 02 Jan 2025 01:57AM UTC 0
72.46
GitHub Action Run
10 12576418029.10 02 Jan 2025 01:57AM UTC 0
72.46
GitHub Action Run
Source Files on build 12576418029
Detailed source file information is not available for this build.
  • Back to Repo
  • a9977d54 on github
  • Prev Build on master (#12576352584)
  • Next Build on mkdir-p-err (#12576418032)
  • 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