update tests+sigs
[os-autoinst:os-autoinst.git] / x11test.d / 550_reboot_kde.pm
1 use base "basetest";
2 use bmwqemu;
3
4 sub is_applicable()
5 {
6         return ($ENV{DESKTOP} eq "kde") and !$ENV{LIVETEST};
7 }
8
9 sub run()
10 {
11         my $self=shift;
12         waitidle;
13         sendkey "ctrl-alt-delete"; # reboot
14         sleep 4;
15         sendautotype "\t\t";
16         sleep 1;
17         $self->take_screenshot;
18         sendautotype "\n";
19         waitinststage "grub", 200; # wait until reboot
20
21 }
22
23 sub checklist()
24 {
25         # return hashref:
26         return {qw(
27                 7a92ffcf15a7928d2510af0b55e48132 OK
28                 69773b7d7a0862d526003fd54470531d OK
29         )}
30 }
31
32 1;