-
Notifications
You must be signed in to change notification settings - Fork 2
Added tests for the state machines #2
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
Conversation
tests/test_fsm.c
Outdated
|
|
||
| s = suite_create("Libpico"); | ||
|
|
||
| // Base64 test case |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy-paste error (not really Base64 test cases).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
tests/test_fsm.c
Outdated
|
|
||
| // We have to duplicate the objects because fsmpico tries to delete them later | ||
| cryptosupport_getprivateder(picoIdSKey, picoIdDer); | ||
| fsmpico_start(pico, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All parameters should be on a single line to match the rest of the code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you manage to fix the temperamental test result? You mentioned it would occasionally fail randomly.
If so, it all looks good to me.
|
I finally fixed the temperamental error.. It was a bit tricky. When adding/removing something to the event queue using Line 87 in 746584a
queue_head (copy of the actual pointer) would be invalid.
Now it is fixed. I will merge this |
No description provided.