1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 07:13:09 +00:00

Run tidy to fix some syntax errors that creeped in recently

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-10-10 15:04:06 +02:00
parent dff0bf6f41
commit baedbd22aa
2 changed files with 4 additions and 4 deletions

View File

@ -23,8 +23,8 @@ sub run {
else { else {
assert_screen("kmail_runs"); assert_screen("kmail_runs");
} }
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }
sub test_flags { sub test_flags {

View File

@ -180,9 +180,9 @@ sub run {
assert_script_run "dnf -y install GraphicsMagick", 300; assert_script_run "dnf -y install GraphicsMagick", 300;
assert_script_run "gm convert -size 1024x768 xc:black /usr/share/backgrounds/black.png"; assert_script_run "gm convert -size 1024x768 xc:black /usr/share/backgrounds/black.png";
assert_script_run "gm convert -size 1024x768 xc:black /usr/share/backgrounds/black.webp"; assert_script_run "gm convert -size 1024x768 xc:black /usr/share/backgrounds/black.webp";
if (script_run 'for i in /usr/share/backgrounds/f*/default/*.png; do ln -sf /usr/share/backgrounds/black.png $i; done') { if (script_run 'for i in /usr/share/backgrounds/f*/default/*.png; do ln -sf /usr/share/backgrounds/black.png $i; done') {
# if that failed, they're probably in webp format # if that failed, they're probably in webp format
assert_script_run 'for i in /usr/share/backgrounds/f*/default/*.webp; do ln -sf /usr/share/backgrounds/black.webp $i; done' assert_script_run 'for i in /usr/share/backgrounds/f*/default/*.webp; do ln -sf /usr/share/backgrounds/black.webp $i; done';
} }
if ($desktop eq "kde") { if ($desktop eq "kde") {
# use solid blue background for SDDM # use solid blue background for SDDM