fix "make check" on uefi systems
an ESP can be on a RAID now. Also always run the integration tests in UEFI mode.
This commit is contained in:
parent
9f883ff0f7
commit
18c651343d
|
@ -39,7 +39,7 @@ for answers in examples/answers*.yaml; do
|
|||
opts='--serial'
|
||||
fi
|
||||
# The --foreground is important to avoid subiquity getting SIGTTOU-ed.
|
||||
timeout --foreground 60 sh -c "LANG=C.UTF-8 python3 -m subiquity.cmd.tui --answers $answers --dry-run --snaps-from-examples --machine-config $config $opts" < $tty
|
||||
timeout --foreground 60 sh -c "LANG=C.UTF-8 python3 -m subiquity.cmd.tui --bootloader uefi --answers $answers --dry-run --snaps-from-examples --machine-config $config $opts" < $tty
|
||||
validate
|
||||
grep -q 'finish: subiquity/Install/install/postinstall/run_unattended_upgrades: SUCCESS: downloading and installing security updates' .subiquity/subiquity-server-debug.log
|
||||
done
|
||||
|
|
|
@ -19,7 +19,7 @@ class StorageChecker:
|
|||
assert action['device'] in self.actions
|
||||
assert 'ptable' in self.actions[action['device']]
|
||||
if action.get('flag') in ('boot', 'bios_grub', 'prep'):
|
||||
assert self.actions[action['device']]['type'] == 'disk'
|
||||
assert self.actions[action['device']]['type'] in ('disk', 'raid')
|
||||
|
||||
def _check_format(self, action):
|
||||
assert 'volume' in action
|
||||
|
|
Loading…
Reference in New Issue