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

holocm / holo / 217
82%

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

pending completion
217

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%)

297.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 217.1 03 Feb 2018 04:55AM UTC 0
80.56
Travis Job 217.1
2 217.2 03 Feb 2018 04:56AM UTC 0
80.56
Travis Job 217.2
Source Files on build 217
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #217
  • 6b73ff6d on github
  • Prev Build on master (#214)
  • Next Build on master (#219)
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