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

tpm2-software / tpm2-tools / 729
0%

Build:
DEFAULT BRANCH: master
Ran 01 Sep 2017 02:52PM UTC
Jobs 1
Files 684
Run time 1min
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
729

push

travis-ci

williamcroberts
test: Use relative path for yaml_get.py in test_tpm2_pcrevent.sh

The test_all.sh script adds the tests directory in the $PATH variable but
that's not the case when the tests are executed standalone. In this case,
the test_tpm2_pcrevent.sh doesn't find the yaml_get.py and fails with:

$ ./test_tpm2_pcrevent.sh
./test_tpm2_pcrevent.sh: line 74: yaml_get.py: command not found
old_pcr_value=`yaml_get.py sha1 9 $yaml_out_file` on line 74 failed: 127

Tests are expected to be executed inside the test/system sub-directory,
so just use a relative path for the yaml_get.py script.

While being there, add a printout to notify that the test was executed
successfully to be consistent with the other tests that do the same.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>

3580 of 5708 relevant lines covered (62.72%)

21.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 729.1 01 Sep 2017 02:52PM UTC 0
62.72
Travis Job 729.1
Source Files on build 729
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #729
  • 5b244047 on github
  • Prev Build on master (#720)
  • Next Build on master (#734)
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