1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-04 23:24:21 +00:00
os-autoinst-distri-fedora/needles/console/root_logged_in_gnome.json
Lukáš Růžička fe8306d2cd Implement distribution methods to replace the testapi defaults.
This PR adds implementations of distribution methods to make them
usable on Fedora. It adds the following methods

* ensure_installed (to install packages)
* become_root (to switch to root account)
* script_sudo (run script with sudo)
* assert_script_sudo (run and assert a sudo script)

It also adds a helper script to the utils.pm

* make_serial_writable

that makes the serial console writable for normal users
and so enables to run commands that check their progress
by sending messages to the serial console. Normally, they
fail, because the messages will not be written their, so
the checking mechanism will never see them.
2022-01-27 21:44:35 +00:00

24 lines
368 B
JSON

{
"area": [
{
"width": 40,
"type": "match",
"xpos": 191,
"ypos": 346,
"height": 16
},
{
"xpos": 297,
"ypos": 346,
"type": "match",
"height": 14,
"width": 17
}
],
"properties": [],
"tags": [
"ENV-DISTRI-fedora",
"root_console",
"root_logged_in"
]
}