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

01org / ciao / 27 / 2
65%
master: 66%

Build:
Build:
LAST BUILD BRANCH: topic/config-subnet-bits
DEFAULT BRANCH: master
Ran 14 Nov 2016 10:39PM UTC
Files 88
Run time 6s
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

14 Nov 2016 10:30PM UTC coverage: 65.055%. First build
COVERALLS_TOKEN=mwTn1pOFqEOUT13vylZNHq53NanoMznO7

push

travis-ci

bryteise
testutil: Add snake oil cert files for roles

The current test utility support passing role based snake oil
certificates for testing but only only as strings. Some of the APIs that
need to be tested require these to be passed as file paths instead so
this patch adds that capability.

The fake ca certs were generated with the following process using
ciao-cert from commit 3bb33ad64:

$ ./ciao-cert -directory ../testutil -host localhost -server -role \
scheduler -ip 127.0.0.1

$ ./ciao-cert -directory ../testutil -host localhost -role $role \
-server-cert ../testutil/cert-Scheduler-localhost.pem -ip 127.0.0.1

The RoleToTestCertPath function the change implements will give the path
to the CA certificate generated when creating the server certificate and
the path to the certificate matching the requested role. If there is no
certificate path matching the specified role an error will be returned
as well.

12004 of 18452 relevant lines covered (65.06%)

0.7 hits per line

Source Files on job 27.2 (COVERALLS_TOKEN=mwTn1pOFqEOUT13vylZNHq53NanoMznO7)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 27
  • Travis Job 27.2
  • a7a1709d on github
  • Next Job for COVERALLS_TOKEN=mwTn1pOFqEOUT13vylZNHq53NanoMznO7 on test-cert-files (#28.2)
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