From 6324db0b878e84c4a668ad333d604ba0e54c4308 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 13 Jun 2018 10:11:53 -0700 Subject: [PATCH] Fix some minor syntax errors in previous commit Signed-off-by: Adam Williamson --- tests/_console_login.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/_console_login.pm b/tests/_console_login.pm index 5e1c0331..950b533f 100644 --- a/tests/_console_login.pm +++ b/tests/_console_login.pm @@ -7,16 +7,16 @@ sub run { my $self = shift; send_key "ctrl-alt-f3"; # do user login unless USER_LOGIN is set to string 'false' - # Since there is no console support for arabic, so we cannot let the user log in - # with a password that requires Arabic support. + # Since there is no console support for arabic, so we cannot let the user log in + # with a password that requires Arabic support. # Such attempt to log in would always fail. if (get_var("LANGUAGE") ne "arabic" && get_var("USER_LOGIN") ne "false") { console_login(user=>get_var("USER_LOGIN", "test"), password=>get_var("USER_PASSWORD", "weakpassword")); - }; + } if (get_var("ROOT_PASSWORD")) { console_login(user=>"root", password=>get_var("ROOT_PASSWORD")); - } -} + } +} sub test_flags { return { fatal => 1, milestone => 1 }; }