1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-21 21:43:08 +00:00

toolbox: handle changed uname string in Rawhide

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2024-10-04 16:19:46 -07:00
parent 91f4a24b20
commit 70271f1397

View File

@ -37,8 +37,9 @@ sub run {
} }
# check to see if toolbox can list container # check to see if toolbox can list container
assert_script_run "toolbox list | grep container1"; assert_script_run "toolbox list | grep container1";
# run a specific command on a given container # run a specific command on a given container, note as of 2024-10
validate_script_output "toolbox run --container container1 uname -a", sub { m/Linux toolbox/ }; # the output changed from "Linux toolbox" to "Linux toolbx"
validate_script_output "toolbox run --container container1 uname -a", sub { m/Linux toolbo?x/ };
# enter container to test # enter container to test
type_string "toolbox enter container1\n"; type_string "toolbox enter container1\n";
# holds on to the screen # holds on to the screen