mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
tests: Migrate from Ubuntu Eoan to Focal
This is the latest LTS release. Fixes: #989 Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
committed by
Sebastien Boeuf
parent
e525af7a61
commit
c790bba905
@@ -94,7 +94,7 @@ mod tests {
|
||||
}
|
||||
|
||||
const BIONIC_IMAGE_NAME: &str = "bionic-server-cloudimg-amd64-raw.img";
|
||||
const EOAN_IMAGE_NAME: &str = "eoan-server-cloudimg-amd64-raw.img";
|
||||
const FOCAL_IMAGE_NAME: &str = "focal-server-cloudimg-amd64-raw.img";
|
||||
|
||||
const CLEAR_KERNEL_CMDLINE: &str = "root=PARTUUID=6fb4d1a8-6c8c-4dd7-9f7c-1fe0b9f2574c \
|
||||
console=tty0 console=ttyS0,115200n8 console=hvc0 quiet \
|
||||
@@ -873,12 +873,12 @@ mod tests {
|
||||
test_block!(tb, "", {
|
||||
let mut clear = ClearDiskConfig::new();
|
||||
let mut bionic = UbuntuDiskConfig::new(BIONIC_IMAGE_NAME.to_string());
|
||||
let mut eoan = UbuntuDiskConfig::new(EOAN_IMAGE_NAME.to_string());
|
||||
let mut focal = UbuntuDiskConfig::new(FOCAL_IMAGE_NAME.to_string());
|
||||
|
||||
vec![
|
||||
&mut clear as &mut dyn DiskConfig,
|
||||
&mut bionic as &mut dyn DiskConfig,
|
||||
&mut eoan as &mut dyn DiskConfig,
|
||||
&mut focal as &mut dyn DiskConfig,
|
||||
]
|
||||
.iter_mut()
|
||||
.for_each(|disk_config| {
|
||||
@@ -2724,12 +2724,12 @@ mod tests {
|
||||
test_block!(tb, "", {
|
||||
let mut clear = ClearDiskConfig::new();
|
||||
let mut bionic = UbuntuDiskConfig::new(BIONIC_IMAGE_NAME.to_string());
|
||||
let mut eoan = UbuntuDiskConfig::new(EOAN_IMAGE_NAME.to_string());
|
||||
let mut focal = UbuntuDiskConfig::new(FOCAL_IMAGE_NAME.to_string());
|
||||
|
||||
vec![
|
||||
&mut clear as &mut dyn DiskConfig,
|
||||
&mut bionic as &mut dyn DiskConfig,
|
||||
&mut eoan as &mut dyn DiskConfig,
|
||||
&mut focal as &mut dyn DiskConfig,
|
||||
]
|
||||
.iter_mut()
|
||||
.for_each(|disk_config| {
|
||||
|
||||
Reference in New Issue
Block a user