-
Notifications
You must be signed in to change notification settings - Fork 4
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
Fix for utimensat01 test #67
base: sgx-lkl
Are you sure you want to change the base?
Conversation
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.
@hukoyu @shaikshavali1.. Please review the changes
@shaikshavali1 can you do a peer review? I will review after you approve this PR. |
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.
@rsrinivas01, Could you please rename the original main function, invoke it from your new main with test parameters, instead of commenting out the original main.
91aec6f
to
2b38158
Compare
995efb8
to
bce9dd1
Compare
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.
Addressed review comments. Please check and let me know
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.
Please fix the below minor comments. Others are fine. Approved.
- some empty lines are removed example Line-144. Please, keep these lines
- use "tst_resm" in place of printf
bce9dd1
to
86603e4
Compare
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.
Updated as per latest comments. Please approve
I think the code looks like it might be correct, but the complete lack of explanatory comments means that I can't review this. |
There's no comments here for why any of the changes were made. It looks to be extensive. At minimum, this needs a good amount of commenting for what is being tested and why. No one is likely to be able to come along and support this later (or now). |
@rsrinivas01 can you add comments to this PR explaining code addition and removals. Please add lots of comments. |
86603e4
to
7133bc4
Compare
Added comments in the file explaining the changes. Please check. |
Comments added in the file explaining the changes. Please check and let me know. |
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.
@davidchisnall @SeanTAllen @hukoyu
Added comments in the file explaining the changes. Please check and let me know your views.
I've reviewed a couple times today. Both times I ended up confused by what is going on. I'll give it another try tomorrow. |
Modified the utimensat01.c file to check for different error and success conditions. Instead of using the utimensat_test.sh script the test will be run directly from the c file.