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

stefanberger / swtpm / 4167
74%

Build:
DEFAULT BRANCH: master
Ran 09 Dec 2022 03:00PM UTC
Jobs 1
Files 79
Run time 3s
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
4167

cron

travis-ci-com

stefanberger
swtpm: Restore logging to stderr on log open failure

When opening a log file fails (--log file=/some/path) for
whatever reason the @logfd variable is left set to -1 (the retval
of open()). And due to how _logprintf() is written, the
subsequent attempt to log this failure (logprintf()) returns too
early not printing the useful error.

Therefore, restore the original (CONSOLE_LOGGING) value.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>

2 of 2 new or added lines in 1 file covered. (100.0%)

6325 of 8438 relevant lines covered (74.96%)

15349.47 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
85.71
-1.93% src/swtpm/logging.c

Uncovered Existing Lines

Lines Coverage ∆ File
1
85.71
-1.93% src/swtpm/logging.c
Jobs
ID Job ID Ran Files Coverage
2 4167.2 (COVERITY_SCAN_TOKEN=[secure] PREFIX="/usr" CONFIG="--with-openssl --prefix=/usr --enable-test-coverage" SUDO="sudo" CHECK="check" SWTPM_TEST_IBMTSS2="1" SWTPM_TEST_STORE_VOLATILE="1") 09 Dec 2022 03:00PM UTC 79
74.96
Travis Job 4167.2
Source Files on build 4167
  • Tree
  • List 79
  • Changed 11
  • Source Changed 1
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Build #4167
  • c6b78f49 on github
  • Prev Build on master (#4160)
  • Next Build on master (#4172)
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