Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test tpm function and bug fix #13

Merged
merged 1 commit into from
Nov 9, 2018
Merged

Conversation

leonjia0112
Copy link
Contributor

@leonjia0112 leonjia0112 commented Nov 7, 2018

I added a few test case to make sure the tpm function is working. Skipped quote function test, because I haven't figured out how to test this function. Also added some comments for each function to make clear what it does. Fixed some bug in tmp functions, now it is able to execute tpm command and getting the result back from tpm.

But it won't pass the CI since CI doesn't contain tpm with it.

@frozencemetery
Copy link
Contributor

Please post a comment once this is passing CI and ready for review.

@leonjia0112 leonjia0112 force-pushed the branch3 branch 3 times, most recently from 0add463 to 952439a Compare November 8, 2018 19:20
@leonjia0112
Copy link
Contributor Author

Comment out the tpm execution test cases to pass CI. Not it is ready for a review. Thanks.

Copy link
Contributor

@frozencemetery frozencemetery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rebase onto master. Also, please do an inspection of the diff (Files changed) and remove all the stuff that shouldn't be changing.

@leonjia0112 leonjia0112 force-pushed the branch3 branch 2 times, most recently from da2a57a to f96e491 Compare November 8, 2018 20:59
@leonjia0112
Copy link
Contributor Author

Removed unnecessary changes on README.md file and test.json file.

Copy link
Contributor

@frozencemetery frozencemetery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, that's better, but there's still "touch" and ".auditing-0". (What is .auditing-0 and why does it keep showing up?)

src/tpm.rs Outdated Show resolved Hide resolved
1. Add test cases to test tpm command execution conditional, those test will execute tpm test if
   tpm is availablem, otherwise, pass as default.
2. Fix bug in run() functions to allow it execute tpm command.i
3. Add comment for each function for clear explanation.
@frozencemetery frozencemetery merged commit fc84899 into keylime:master Nov 9, 2018
@leonjia0112 leonjia0112 deleted the branch3 branch March 13, 2019 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants