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

PulpQE / pulp-smash / 419
63%

Build:
DEFAULT BRANCH: master
Ran 07 Apr 2016 08:25PM UTC
Jobs 4
Files 6
Run time 29s
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
419

push

travis-ci

Ichimonji10
Fix a partially broken test

From a comment in the source code:

> When executing commands over SSH, in a non-login shell, and as a non-root
> user, the PATH environment variable is quite short. For example:
>
>     /usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin

In cases where these conditions hold true, such as when Jenkins logs
into a Nodepool test system, several private functions that work with
`/usr/sbin/getenforce` will malfunction. Make these functions more
resilient by hard-coding in references to `/usr/sbin/getenforce`. This
approach is inflexible and inelegant. However:

> We're doing this it's simple (see _has_getenforce()), because Pulp is
> available on a limited number of platforms, and because we may move to
> an SSH client that allows for shell expansion.

Are there other solutions available? Sure! However:

> We cannot execute `PATH=${PATH}:/usr/sbin which getenforce` because
> Plumbum does a good job of preventing shell expansions. See:
> https://github.com/PulpQE/pulp-smash/issues/89

302 of 411 relevant lines covered (73.48%)

2.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 419.1 07 Apr 2016 08:25PM UTC 0
73.48
Travis Job 419.1
2 419.2 07 Apr 2016 08:25PM UTC 0
73.48
Travis Job 419.2
3 419.3 07 Apr 2016 08:25PM UTC 0
73.48
Travis Job 419.3
4 419.4 07 Apr 2016 08:25PM UTC 0
73.48
Travis Job 419.4
Source Files on build 419
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #419
  • 57a53314 on github
  • Prev Build on master (#415)
  • Next Build on master (#421)
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