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

os-autoinst / os-autoinst / 2400 / 1
57%
master: 57%

Build:
DEFAULT BRANCH: master
Ran 20 Jan 2017 06:48AM UTC
Files 60
Run time 2s
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

20 Jan 2017 06:39AM UTC coverage: 49.412% (-0.03%) from 49.438%
2400.1

push

travis-ci

coolo
Remove duplication in script_run and assert_script_run (#694)

`assert_script_run` and `script_run` currently duplicate the
work to echo the exit code of the command to the serial port
and act on it. Instead, let's have `assert_script_run` just
take the exit code from `script_run` and die unless it's 0.

Note that this leaves `script_sudo` and `assert_script_sudo`
alone. Ideally I'd like to harmonize those too, but that's more
complex and debatable. I did add a note that `assert_script_sudo`
is unlikely to actually work with the default `script_sudo`.

I cleaned up the docs a bit, and renamed `script_runs` args
to match `assert_script_run`'s. And I made the fail message for
the assert functions a bit more accurate (it can die because the
command timed out as well as because it failed).

2943 of 5956 relevant lines covered (49.41%)

158.06 hits per line

Source Files on job 2400.1
  • Tree
  • List 0
  • Changed 12
  • Source Changed 2
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2400
  • Travis Job 2400.1
  • b674942a on github
  • Prev Job for on master (#2399.1)
  • Next Job for on master (#2405.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc