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

postmarketOS / pmbootstrap / 4445 / 1
80%
master: 79%

Build:
Build:
LAST BUILD BRANCH: feature/chroot-buildroot-architecture
DEFAULT BRANCH: master
Ran 14 Mar 2018 08:38PM UTC
Files 81
Run time 37min
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 Mar 2018 08:18PM UTC coverage: 79.635% (+0.2%) from 79.449%
4445.1

push

travis-ci

ollieparanoid
Don't store device name in cfg / add test case

* Save "" (empty string) in the user's config as hostname if the user
  let it default to the name of the device. That way, when the device
  gets changed, the user won't get the old device's name as hostname
  by accident.
* Add a test case
* Escape the hostname in setup_hostname. We already have good checks
  for it in init, but this extra escaping doesn't cost much performance
  and helps in case the user manually edited the pmbootstrap.cfg or was
  instructed to run something like:
  pmbootstrap config hostname "'; rm -rf /; #"
* Minor edits in comments for consistency

3183 of 3997 relevant lines covered (79.63%)

0.8 hits per line

Source Files on job 4445.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1
  • Travis Job 4445.1
  • c3cb90e4 on github
  • Prev Job for on feature/set-hostname (#4442.1)
  • Next Job for on feature/set-hostname (#4460.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