mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-08-19 22:05:44 +00:00
Change owner and enable KDE user switching.
This commit is contained in:
parent
fead784087
commit
ab4052c398
@ -54,6 +54,7 @@ sub adduser {
|
|||||||
if ($desktop eq "gnome") {
|
if ($desktop eq "gnome") {
|
||||||
assert_script_run "mkdir /home/$login/.config";
|
assert_script_run "mkdir /home/$login/.config";
|
||||||
assert_script_run "echo 'yes' >> /home/$login/.config/gnome-initial-setup-done";
|
assert_script_run "echo 'yes' >> /home/$login/.config/gnome-initial-setup-done";
|
||||||
|
assert_script_run "chown $login:$login /home/$login/.config";
|
||||||
}
|
}
|
||||||
if ($args{termstop}) {
|
if ($args{termstop}) {
|
||||||
type_very_safely "exit\n";
|
type_very_safely "exit\n";
|
||||||
@ -287,10 +288,6 @@ sub run {
|
|||||||
login_user(user=>"jim", password=>$jimpass, method=>"unlock");
|
login_user(user=>"jim", password=>$jimpass, method=>"unlock");
|
||||||
|
|
||||||
# Switch user tests
|
# Switch user tests
|
||||||
if ($desktop eq "gnome") {
|
|
||||||
# Because KDE at the moment (20200403) is very unreliable concerning switching the users inside
|
|
||||||
# the virtual machine, we will skip this part, until situation is better. Switching users will
|
|
||||||
# be only tested in Gnome.
|
|
||||||
|
|
||||||
# Start a terminal session to monitor on which sessions we are, when we start switching users.
|
# Start a terminal session to monitor on which sessions we are, when we start switching users.
|
||||||
# This time, we will open the terminal window manually because we want to leave it open later.
|
# This time, we will open the terminal window manually because we want to leave it open later.
|
||||||
@ -321,7 +318,7 @@ sub run {
|
|||||||
switch_user();
|
switch_user();
|
||||||
login_user(user=>"jack", password=>$jackpass);
|
login_user(user=>"jack", password=>$jackpass);
|
||||||
check_user_logged_in("jack");
|
check_user_logged_in("jack");
|
||||||
}
|
|
||||||
# Power off the machine
|
# Power off the machine
|
||||||
power_off();
|
power_off();
|
||||||
check_shutdown;
|
check_shutdown;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user