-
Notifications
You must be signed in to change notification settings - Fork 28
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
verify /dev/mem is not present in QM partition #495
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.
LGTM
/packit test --identifier e2e-ffi |
will improve it based on the review of the design |
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.
LGTM
/packit test --identifier e2e-multi-bluechi-agents |
e14dfe2
to
558db73
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.
LGTM
please squash commits for easy review. |
@dougsland @Yarboa thank you so much for the review. |
#495 (comment) |
Sorry for the confusion caused by the comment above. |
86216e9
to
7afe651
Compare
Just a general comment: this is not a special property of |
496f62a
to
abf9583
Compare
09c5ae8
to
3f68c61
Compare
Signed-off-by: pengshanyu <[email protected]> add a single newline Signed-off-by: pengshanyu <[email protected]> remove -i and -a option Signed-off-by: pengshanyu <[email protected]> change test name Signed-off-by: pengshanyu <[email protected]> use test -e to check if file exists Signed-off-by: pengshanyu <[email protected]> remove output redirection Signed-off-by: pengshanyu <[email protected]> replace hyphen with low-line Signed-off-by: pengshanyu <[email protected]>
d0bb53d
to
7f40a32
Compare
Signed-off-by: pengshanyu <[email protected]>
@@ -0,0 +1,10 @@ | |||
Verifies that /dev/mem is not present in QM partition. |
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 send another patch later using this format below, I will unblock you for now.
@pengshanyu. Thanks! Also, your commit message container several duplicate signed-off-by (SOB) next time please remove the dup lines.
Title:
Foobar 123 123
Description:
Foobar 123 123
Input:
Foobar 123 123
Expected Result:
Foobar 123123
Jira:
Foobar 123123
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.
Hi @dougsland, sorry, I didn't notice them. Sure, I'll pay attention next time. Thanks.
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.
Not your fault at all, we are starting to create it ;-)
I want ensure that /dev/mem is not accesible inside QM partition.
Test Design (improved based on PR review):
Using test expression in QM partition:
Execute the following command:
podman exec qm test -e /dev/mem
Expected Result:
/dev/mem does not exist, the command returns a non-zero value
Verify whether the test passed or not:
PASS: if the command returns a non-zero value, it means /dev/mem is not present
FAIL: if the command returns 0, it means /dev/mem is present