-
Notifications
You must be signed in to change notification settings - Fork 20
msg: create tests for host msg implementation #425
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
base: master
Are you sure you want to change the base?
Conversation
msg/test_msg.c
Outdated
|
|
||
|
|
||
| #define COLOR_DIM_CYAN "\033[2;96m" | ||
| #define COLOR_RESET "\033[0m" |
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.
[clang-format-pr] reported by reviewdog 🐶
suggested fix
| #define COLOR_RESET "\033[0m" | |
| #define COLOR_RESET "\033[0m" |
msg/msg_server.c
Outdated
|
|
||
| while (1) { | ||
| if (msgRecv(port, &msg, &rid) < 0) { | ||
| printf("Error in msgRecv occured"); |
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.
[codespell] reported by reviewdog 🐶
occured ==> occurred
msg/msg_server.c
Outdated
| } | ||
|
|
||
| if (msgRespond(port, &msg, rid) < 0) { | ||
| printf("Error in msgRespond occured"); |
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.
[codespell] reported by reviewdog 🐶
occured ==> occurred
msg/msg_server.c
Outdated
|
|
||
| while (1) { | ||
| if (msgRecv(port, &msg, &rid) < 0) { | ||
| printf("Error in msgRecv occured"); |
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.
[codespell] reported by reviewdog 🐶
occured ==> occurred
msg/msg_server.c
Outdated
| } | ||
|
|
||
| if (msgRespond(port, &msg, rid) < 0) { | ||
| printf("Error in msgRespond occured"); |
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.
[codespell] reported by reviewdog 🐶
occured ==> occurred
msg/msg_server.c
Outdated
|
|
||
| while (1) { | ||
| if (msgRecv(port, &msg, &rid) < 0) { | ||
| printf("Error in msgRecv occured"); |
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.
[codespell] reported by reviewdog 🐶
occured ==> occurred
msg/msg_server.c
Outdated
| strcpy((char *)msg.o.raw, message); | ||
|
|
||
| if (msgRespond(port, &msg, rid) < 0) { | ||
| printf("Error in msgRespond occured"); |
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.
[codespell] reported by reviewdog 🐶
occured ==> occurred
msg/test_msg.c
Outdated
| msg_t msg; | ||
|
|
||
| if (msgRecv(*port, &msg, &rid) < 0) { | ||
| printf("Error in msgRecv occured\n"); |
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.
[codespell] reported by reviewdog 🐶
occured ==> occurred
msg/test_msg.c
Outdated
| return NULL; | ||
| } | ||
| if (msgRespond(*port, &msg, rid) < 0) { | ||
| printf("Error in msgRespond occured\n"); |
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.
[codespell] reported by reviewdog 🐶
occured ==> occurred
msg/test_msg.c
Outdated
| msg_t msg; | ||
|
|
||
| if (msgRecv(*port, &msg, &rid) < 0) { | ||
| printf("Error in msgRecv occured\n"); |
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.
[codespell] reported by reviewdog 🐶
occured ==> occurred
msg/test_msg.c
Outdated
| } | ||
| msg.o.err = 22; | ||
| if (msgRespond(*port, &msg, rid) < 0) { | ||
| printf("Error in msgRespond occured\n"); |
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.
[codespell] reported by reviewdog 🐶
occured ==> occurred
JIRA: ISC-286
d3cd3a2 to
8e9cb8c
Compare
JIRA: ISC-286
Description
Motivation and Context
Types of changes
How Has This Been Tested?
Checklist:
Special treatment