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

mknos / PerlPowerTools / 10033630880 / 9
76%
master: 62%

Build:
Build:
LAST BUILD BRANCH: head-nplus
DEFAULT BRANCH: master
Ran 22 Jul 2024 02:32AM UTC
Files 3
Run time 0s
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

22 Jul 2024 02:29AM UTC coverage: 76.268%. Remained the same
10033630880.9

push

github

web-flow
shar: uudecode problem

* For binary input, shar will construct a file that can be passed to the uudecode command
* When testing this against files from /bin on my linux system, I saw decode errors when extracting with "sh new.shar"
* The file sizes didn't match
* When inspecting the output of shar from GNU sharutils, there was a terminating line with only a backtick before the "end" line in the data passed to uudecode
* Adding the backtick line in this version makes uudecode work correctly; I tested this against a few files from my /bin
* binmode() isn't needed for STDOUT because shar always prints text output
* Convert FH to a regular variable
* The commandline for decoding a binary file doesn't need a pipe through sed because the 'X' prefix letter is never added to the uuencoded data

%sh bash.shar  # before patch
x - bash
uudecode fatal error:
standard input: Short file
^C
%cmp bash /bin/bash 
cmp: EOF on /bin/bash after byte 974312, in line 14510

376 of 493 relevant lines covered (76.27%)

4551.7 hits per line

Source Files on job 10033630880.9
  • Tree
  • List 0
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 10033630880
  • f0f9995b on github
  • Prev Job for on shar-binfile (#10033038303.7)
  • Next Job for on shar-binfile (#10033630878.1)
  • 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