diff --git a/needles/console/rocky-toolbox-console_in_toolbox-20240208.json b/needles/console/rocky-toolbox-console_in_toolbox-20240208.json new file mode 100644 index 00000000..9540fcf7 --- /dev/null +++ b/needles/console/rocky-toolbox-console_in_toolbox-20240208.json @@ -0,0 +1,16 @@ +{ + "area": [ + { + "height": 18, + "xpos": 14, + "ypos": 128, + "width": 132, + "type": "match" + } + ], + "properties": [], + "tags": [ + "ENV-DISTRI-rocky", + "console_in_toolbox" + ] +} \ No newline at end of file diff --git a/needles/console/rocky-toolbox-console_in_toolbox-20240208.png b/needles/console/rocky-toolbox-console_in_toolbox-20240208.png new file mode 100644 index 00000000..5424fefa Binary files /dev/null and b/needles/console/rocky-toolbox-console_in_toolbox-20240208.png differ diff --git a/needles/console/rocky-toolbox-console_in_toolbox-20240209.json b/needles/console/rocky-toolbox-console_in_toolbox-20240209.json new file mode 100644 index 00000000..cc4930b1 --- /dev/null +++ b/needles/console/rocky-toolbox-console_in_toolbox-20240209.json @@ -0,0 +1,16 @@ +{ + "area": [ + { + "ypos": 744, + "height": 22, + "xpos": 14, + "type": "match", + "width": 135 + } + ], + "properties": [], + "tags": [ + "ENV-DISTRI-rocky", + "console_in_toolbox" + ] +} \ No newline at end of file diff --git a/needles/console/rocky-toolbox-console_in_toolbox-20240209.png b/needles/console/rocky-toolbox-console_in_toolbox-20240209.png new file mode 100644 index 00000000..0eba030f Binary files /dev/null and b/needles/console/rocky-toolbox-console_in_toolbox-20240209.png differ diff --git a/tests/toolbox.pm b/tests/toolbox.pm index eb03119d..92d1a3bf 100644 --- a/tests/toolbox.pm +++ b/tests/toolbox.pm @@ -2,10 +2,11 @@ use base "installedtest"; use strict; use testapi; +use utils; sub run { 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 "rpm -q toolbox"; assert_script_run "toolbox create container_rl -y", 300; @@ -25,7 +26,7 @@ sub run { type_string "toolbox enter fedora-toolbox-39\n"; assert_screen "console_in_toolbox", 180; 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\)/ }; # clean up assert_script_run 'podman stop fedora-toolbox-39';