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

saltstack / salt / 5057 / 2
20%
develop: 97%

Build:
Build:
LAST BUILD BRANCH: 0.14
DEFAULT BRANCH: develop
Ran 23 Jul 2013 10:49PM UTC
Files 354
Run time –
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

23 Jul 2013 10:42PM UTC coverage: 19.841% (-0.06%) from 19.905%
5057.2

push

travis-ci

basepi
Fix alternatives.check_installed

This function used os.path.realpath(), which follows symlinks
recursively. This means that, when the path for the alternative is also
a symlink, alternatives.check_installed returns False since it follows
the symlinks all the way down to the actual binary.

Additionally, there was redundant code in check_installed() and
show_current(). This commit changes check_installed() so that it uses
show_current() to provide the redundant functionality, and makes
show_current() use os.readlink() instead, so that it only checks the
path to which the link points instead of recursively following symlinks

Fixes #6162.

7801 of 39318 relevant lines covered (19.84%)

0.2 hits per line

Source Files on job 5057.2
  • Tree
  • List 0
  • Changed 18
  • Source Changed 18
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5057
  • Travis Job 5057.2
  • a55e3f21 on github
  • Prev Job for on 0.16 (#4988.2)
  • Next Job for on 0.16 (#5068.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