mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-09-01 03:55:53 +00:00
Tidy finished scripts
This commit is contained in:
parent
df3d701801
commit
a8f3c60b78
@ -29,10 +29,10 @@ sub run {
|
|||||||
menu_launch_type("terminal");
|
menu_launch_type("terminal");
|
||||||
wait_still_screen(3);
|
wait_still_screen(3);
|
||||||
enter_cmd("xfreerdp /u:$rdpuser /p:$rdppass /v:$ip /sec:nla /cert:ignore");
|
enter_cmd("xfreerdp /u:$rdpuser /p:$rdppass /v:$ip /sec:nla /cert:ignore");
|
||||||
|
|
||||||
# Check that a connection window has appeared.
|
# Check that a connection window has appeared.
|
||||||
assert_screen("connection_window");
|
assert_screen("connection_window");
|
||||||
|
|
||||||
# Log onto the system.
|
# Log onto the system.
|
||||||
assert_and_check("connection_login_screen");
|
assert_and_check("connection_login_screen");
|
||||||
sleep(2);
|
sleep(2);
|
||||||
|
@ -19,7 +19,7 @@ sub run {
|
|||||||
# Check that SElinux is in permissive mode
|
# Check that SElinux is in permissive mode
|
||||||
validate_script_output("getenforce", sub { m/Permissive/ });
|
validate_script_output("getenforce", sub { m/Permissive/ });
|
||||||
|
|
||||||
# In Workstation, the RDP port should be opened per se,
|
# In Workstation, the RDP port should be opened per se,
|
||||||
# but let's open it explicitely, to make sure it is open.
|
# but let's open it explicitely, to make sure it is open.
|
||||||
assert_script_run("firewall-cmd --add-port=3389/tcp");
|
assert_script_run("firewall-cmd --add-port=3389/tcp");
|
||||||
|
|
||||||
@ -68,7 +68,7 @@ sub run {
|
|||||||
$self->root_console(tty => 3);
|
$self->root_console(tty => 3);
|
||||||
if (script_run("systemctl status gnome-remote-desktop --no-pager")) {
|
if (script_run("systemctl status gnome-remote-desktop --no-pager")) {
|
||||||
record_soft_failure("The Gnome Remote Desktop service is not running.");
|
record_soft_failure("The Gnome Remote Desktop service is not running.");
|
||||||
assert_script_run("systemctl enable --now gnome-remote-desktop");
|
assert_script_run("systemctl enable --now gnome-remote-desktop");
|
||||||
}
|
}
|
||||||
|
|
||||||
# Create mutex to synchronise with the children.
|
# Create mutex to synchronise with the children.
|
||||||
|
Loading…
Reference in New Issue
Block a user