New needles and minor code changes

This commit is contained in:
Alan Marshall 2024-02-09 16:33:11 +00:00
parent 3c371b2c63
commit 4e790cd76a
Signed by: alangm
GPG Key ID: 4DF85D1B967F51A6
5 changed files with 35 additions and 2 deletions

View File

@ -0,0 +1,16 @@
{
"area": [
{
"height": 18,
"xpos": 14,
"ypos": 128,
"width": 132,
"type": "match"
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"console_in_toolbox"
]
}

Binary file not shown.

After

(image error) Size: 2.3 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"ypos": 744,
"height": 22,
"xpos": 14,
"type": "match",
"width": 135
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"console_in_toolbox"
]
}

Binary file not shown.

After

(image error) Size: 74 KiB

View File

@ -2,10 +2,11 @@
use base "installedtest"; use base "installedtest";
use strict; use strict;
use testapi; use testapi;
use utils;
sub run { sub run {
my $self = shift; my $self = shift;
my $version_major = get_version_major; my $version_major = get_version_major();
assert_script_run "dnf install toolbox --assumeyes", 360 unless (get_var("CANNED")); assert_script_run "dnf install toolbox --assumeyes", 360 unless (get_var("CANNED"));
assert_script_run "rpm -q toolbox"; assert_script_run "rpm -q toolbox";
assert_script_run "toolbox create container_rl -y", 300; assert_script_run "toolbox create container_rl -y", 300;
@ -25,7 +26,7 @@ sub run {
type_string "toolbox enter fedora-toolbox-39\n"; type_string "toolbox enter fedora-toolbox-39\n";
assert_screen "console_in_toolbox", 180; assert_screen "console_in_toolbox", 180;
type_string "exit\n"; type_string "exit\n";
sleep 5 sleep 5;
validate_script_output "toolbox run --distro fedora --release 39 cat /etc/fedora-release", sub { m/Fedora release 39 \(Thirty Nine\)/ }; validate_script_output "toolbox run --distro fedora --release 39 cat /etc/fedora-release", sub { m/Fedora release 39 \(Thirty Nine\)/ };
# clean up # clean up
assert_script_run 'podman stop fedora-toolbox-39'; assert_script_run 'podman stop fedora-toolbox-39';