-
Notifications
You must be signed in to change notification settings - Fork 54
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
Add test fot tedge init #2031
Add test fot tedge init #2031
Conversation
Signed-off-by: gligorisaev <gligorisaev@gmail.com>
Robot Results
Passed Tests
|
Signed-off-by: gligorisaev <gligorisaev@gmail.com>
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
Check ownership of the folders | ||
[Documentation] Running tedge init has created the folders assigning default user/group | ||
... this test step is confirming the default values for user/group | ||
Check Owner of Directory /etc/tedge tedge:root |
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.
Weird that the owner is tedge:root
and not tedge:tedge
. Will look into that.
Check Owner of Directory /etc/tedge/device-certs mosquitto:mosquitto | ||
Check Owner of Directory /var/tedge petertest:petertest | ||
Check Owner of Directory /var/log/tedge petertest:petertest | ||
|
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.
I'm assuming that running all the daemons as petertest
user was also tested manually, as it may have been difficult to automate.
Added test:
/tests/RobotFramework/tests/customizing/tedge_init.robot
Types of changes
Paste Link to the issue
Checklist
cargo fmt
as mentioned in CODING_GUIDELINEScargo clippy
as mentioned in CODING_GUIDELINESFurther comments