Skip to content

dasharo-stability/capsule-update.robot: make compatible with protectli #922

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

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

wiktormowinski
Copy link
Contributor

No description provided.

Signed-off-by: Wiktor Mowinski <wiktor.mowinski@3mdeb.com>
Signed-off-by: Wiktor Mowinski <wiktor.mowinski@3mdeb.com>
Signed-off-by: Wiktor Mowinski <wiktor.mowinski@3mdeb.com>
@@ -135,7 +136,10 @@ CUP170.002 Verifying UUID (Windows)
Log To Console \n[Before Update] ${ORIGINAL_UUID}
Log To Console \n[After Update] ${WIN_UPDATED_UUID}

Should Be Equal ${ORIGINAL_UUID} ${WIN_UPDATED_UUID}
Should Be True
... '${WIN_UPDATED_UUID}' == '${ORIGINAL_UUID}' or '${WIN_UPDATED_UUID}' == '00000000-0000-0000-0000-000000000000'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will succeed if Windows failed to read UUID while Ubuntu didn't, I meant something like this:

# dmidecode reports `Not Settable` for all zeroes
IF    '${ORIGINAL_UUID}' == 'Not Settable'
    Should Be Equal    ${ORIGINAL_UUID}    00000000-0000-0000-0000-000000000000
ELSE
    Should Be Equal    ${ORIGINAL_UUID}    ${WIN_UPDATED_UUID}
END

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants