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

holocm / holo / 217 / 2
82%
master: 82%

Build:
DEFAULT BRANCH: master
Ran 03 Feb 2018 04:56AM UTC
Files 39
Run time 1s
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

03 Feb 2018 04:54AM UTC coverage: 80.56% (+0.06%) from 80.497%
217.2

push

travis-ci

LukeShu
holo-files: Fix first provision when there's a .pacnew file (#40)

This fixes two bugs that trigger when we are both:
 1. first provisioning a file that Holo has never touched before, and
 2. a system-update has already left a new stock version (a `.pacnew`
    file in this test) because of user modification.

The first is that because of a copy-paste mistake, it writes the contents
of the .pacnew file to the final file; both discarding user changes without
`--force`, and leaving the wrong thing in `$HOLO_STATE_DIR/base`.

The second is that the check to see if we need `--force` didn't work
anyway; in this situation, it needed to compare against `base` instead of
`provisioned`, since we haven't provisioned the file before.

Because both bugs trigger in the same situation, the fixes to both bugs are
required to make the added test pass.

2271 of 2819 relevant lines covered (80.56%)

148.9 hits per line

Source Files on job 217.2
  • Tree
  • List 0
  • Changed 24
  • Source Changed 2
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 217
  • Travis Job 217.2
  • 6b73ff6d on github
  • Prev Job for on master (#214.1)
  • Next Job for on master (#219.1)
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