mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-18 09:08:29 +00:00
New needles and minor code changes
This commit is contained in:
parent
3c371b2c63
commit
4e790cd76a
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"height": 18,
|
||||||
|
"xpos": 14,
|
||||||
|
"ypos": 128,
|
||||||
|
"width": 132,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"ENV-DISTRI-rocky",
|
||||||
|
"console_in_toolbox"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/console/rocky-toolbox-console_in_toolbox-20240208.png
Normal file
BIN
needles/console/rocky-toolbox-console_in_toolbox-20240208.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.3 KiB |
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"ypos": 744,
|
||||||
|
"height": 22,
|
||||||
|
"xpos": 14,
|
||||||
|
"type": "match",
|
||||||
|
"width": 135
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"ENV-DISTRI-rocky",
|
||||||
|
"console_in_toolbox"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/console/rocky-toolbox-console_in_toolbox-20240209.png
Normal file
BIN
needles/console/rocky-toolbox-console_in_toolbox-20240209.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 74 KiB |
@ -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';
|
||||||
|
Loading…
Reference in New Issue
Block a user