1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-03-11 15:34:32 +00:00

toolbox.pm: bump tested RHEL to 9.5

9.1 is gone from UBI repo now it seems.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2025-02-01 10:03:30 -08:00
parent dfd26e0505
commit 590ee0c90e

View File

@ -55,14 +55,14 @@ sub run {
# Toolbox remove image and their associated containers # Toolbox remove image and their associated containers
assert_script_run "toolbox rmi --all --force"; assert_script_run "toolbox rmi --all --force";
# create a rhel image with distro and release flags # create a rhel image with distro and release flags
assert_script_run "toolbox -y create --distro rhel --release 9.1", 300; assert_script_run "toolbox -y create --distro rhel --release 9.5", 300;
# validate rhel release file to ensure correct version # validate rhel release file to ensure correct version
type_string "toolbox enter rhel-toolbox-9.1\n"; type_string "toolbox enter rhel-toolbox-9.5\n";
assert_screen "console_in_toolbox", 180; assert_screen "console_in_toolbox", 180;
type_string "exit\n"; type_string "exit\n";
sleep 3; sleep 3;
#run a specific command on a given choice of distro and release #run a specific command on a given choice of distro and release
validate_script_output "toolbox run --distro rhel --release 9.1 cat /etc/redhat-release", sub { m/Red Hat Enterprise Linux release 9.1 \(Plow\)/ }; validate_script_output "toolbox run --distro rhel --release 9.5 cat /etc/redhat-release", sub { m/Red Hat Enterprise Linux release 9.5 \(Plow\)/ };
} }