svn commit: samba r22398 - in branches/SAMBA_4_0/source/script/tests: .

metze at samba.org metze at samba.org
Fri Apr 20 06:09:38 GMT 2007


Author: metze
Date: 2007-04-20 06:09:37 +0000 (Fri, 20 Apr 2007)
New Revision: 22398

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22398

Log:
try to let all tests pass 5400 seconds is not enough
with the amount of tests we run now.

metze
Modified:
   branches/SAMBA_4_0/source/script/tests/Samba4.pm
   branches/SAMBA_4_0/source/script/tests/selftest.pl


Changeset:
Modified: branches/SAMBA_4_0/source/script/tests/Samba4.pm
===================================================================
--- branches/SAMBA_4_0/source/script/tests/Samba4.pm	2007-04-20 05:58:31 UTC (rev 22397)
+++ branches/SAMBA_4_0/source/script/tests/Samba4.pm	2007-04-20 06:09:37 UTC (rev 22398)
@@ -710,7 +710,7 @@
 
 	my $env = $self->provision_member($path, $dc_vars);
 
-	$self->check_or_start($env, ($ENV{SMBD_MAX_TIME} or 5400));
+	$self->check_or_start($env, ($ENV{SMBD_MAX_TIME} or 6500));
 
 	$self->wait_for_start($env);
 

Modified: branches/SAMBA_4_0/source/script/tests/selftest.pl
===================================================================
--- branches/SAMBA_4_0/source/script/tests/selftest.pl	2007-04-20 05:58:31 UTC (rev 22397)
+++ branches/SAMBA_4_0/source/script/tests/selftest.pl	2007-04-20 06:09:37 UTC (rev 22398)
@@ -191,7 +191,7 @@
 	$out .= "Running test $state->{NAME} (level 0 stdout)\n";
 	$out .= "--==--==--==--==--==--==--==--==--==--==--\n";
 	$out .= scalar(localtime())."\n";
-	$out .= "SELFTEST RUNTIME: " . ($state->{START} - $start) . "s";
+	$out .= "SELFTEST RUNTIME: " . ($state->{START} - $start) . "s\n";
 	$out .= "NAME: $state->{NAME}\n";
 	$out .= "CMD: $state->{CMD}\n";
 
@@ -212,7 +212,7 @@
 	my ($state, $expected_ret, $ret) = @_;
 	my $out = "";
 
-	$out .= "TEST RUNTIME: " . (time() - $state->{START}) . "s";
+	$out .= "TEST RUNTIME: " . (time() - $state->{START}) . "s\n";
 
 	if ($ret == $expected_ret) {
 		$out .= "ALL OK\n";



More information about the samba-cvs mailing list