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

stefanberger / swtpm / 1129
70%
master: 74%

Build:
Build:
LAST BUILD BRANCH: HEAD
DEFAULT BRANCH: master
Ran 26 Feb 2019 02:12PM UTC
Jobs 1
Files 481
Run time 53s
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
1129

push

travis-ci

stefanberger
swtpm-setup: follow XDG spec more closely for default config

According to the XDG spec,
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html:
"If $XDG_CONFIG_HOME is either not set or empty, a default equal to
$HOME/.config should be used."

This fixes setting up a TPM with libvirt running in a user session.

It works by checking if configuration files are readable in the
directory priority order (XDG_CONFIG_HOME, then HOME, then SYSCONFDIR).

When libvirt is running as a system instance, $HOME isn't set, so it
will fall back on @SYSCONFDIR@ (/etc usually)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>

3266 of 4662 relevant lines covered (70.06%)

23083.15 hits per line

Jobs
ID Job ID Ran Files Coverage
2 1129.2 (PREFIX="/usr" CONFIG="--with-openssl --prefix=/usr --enable-test-coverage" SUDO="sudo" CHECK="check") 26 Feb 2019 02:12PM UTC 0
70.06
Travis Job 1129.2
Source Files on build 1129
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1129
  • d803d845 on github
  • Prev Build on stable-0.1.0 (#1119)
  • Next Build on stable-0.1.0 (#1232)
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