From 6f8bdd96c2db76d0a6e39510074a2a6df5c95f08 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 16 Jan 2004 22:01:14 +0000 Subject: do not complain about root password in testing mode --- perl-install/install_steps_interactive.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/install_steps_interactive.pm') diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm index 4dd3b4743..e399b55c3 100644 --- a/perl-install/install_steps_interactive.pm +++ b/perl-install/install_steps_interactive.pm @@ -1151,6 +1151,7 @@ sub setRootPassword { focus_first => 1, callbacks => { complete => sub { + return 0 if $::testing; $sup->{password} eq $sup->{password2} or $o->ask_warn('', [ N("The passwords do not match"), N("Please try again") ]), return 1,0; length $sup->{password} < 2 * $o->{security} and $o->ask_warn('', N("This password is too short (it must be at least %d characters long)", 2 * $o->{security})), return 1,0; -- cgit v1.2.1