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

postmarketOS / pmbootstrap / 4445
80%
master: 79%

Build:
Build:
LAST BUILD BRANCH: feature/chroot-buildroot-architecture
DEFAULT BRANCH: master
Ran 14 Mar 2018 08:38PM UTC
Jobs 1
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

pending completion
4445

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

Jobs
ID Job ID Ran Files Coverage
1 4445.1 14 Mar 2018 08:38PM UTC 0
79.63
Travis Job 4445.1
Source Files on build 4445
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4445
  • c3cb90e4 on github
  • Prev Build on feature/set-hostname (#4442)
  • Next Build on feature/set-hostname (#4460)
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