-
Notifications
You must be signed in to change notification settings - Fork 5
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
fsdiff enhancements to diff against a reference dump #260
base: master
Are you sure you want to change the base?
Conversation
This is not meant to be a fixture anyway. Signed-off-by: Yann Dirson <[email protected]>
This suppresses hostkey checking, making the script more suitable for non-interactive use, and makes it easier to understand when something goes wrong. FIXME locate "lib" more properly Signed-off-by: Yann Dirson <[email protected]>
Signed-off-by: Yann Dirson <[email protected]>
Signed-off-by: Yann Dirson <[email protected]>
Tests for generation of the reference files, and for checking against them. Signed-off-by: Yann Dirson <[email protected]>
byte-compiled version of /etc/xapi.d/plugins/vmss Signed-off-by: Yann Dirson <[email protected]>
@@ -5,7 +5,6 @@ | |||
# Requirements: | |||
# - 2 XCP-ng host of same version | |||
|
|||
pytest.fixture(scope='module') |
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.
This one is fun :) Nice catch.
def firmware_type(self): | ||
retcode = self.ssh(['test', '-d', '/sys/firmware/efi/'], | ||
check=False, simple_output=False).returncode | ||
return "uefi" if retcode == 0 else "bios" |
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.
In the VM object, there's is_uefi()
. Would it make sense to be consistent with it?
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.
Reference files will keep evolving when we test nightly builds, so does it make sense to store them here? How about we give the test a location where it can download them from if they exist, that we would populate after each nightly build?
No description provided.