From 5edcb9f9a820227896e9652d30b26af8c1d9abc9 Mon Sep 17 00:00:00 2001 From: des Date: Thu, 15 May 2003 20:33:33 +0000 Subject: Explicitly set the sandbox directory (it defaults to ~/tinderbox which is wrong when running a release tinderbox as root) Use the setup's COMMENT field in the subject of the failure report, instead of just "$branch tinderbox". Tweak the test setups. --- tools/tools/tinderbox/tbmaster.pl | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'tools') diff --git a/tools/tools/tinderbox/tbmaster.pl b/tools/tools/tinderbox/tbmaster.pl index 1759a34..b5fe812 100644 --- a/tools/tools/tinderbox/tbmaster.pl +++ b/tools/tools/tinderbox/tbmaster.pl @@ -37,6 +37,7 @@ use Sys::Hostname; my %CONFIGS = ( # Global settings 'global' => { + 'SANDBOX' => '/home/des/tinderbox', 'LOGDIR' => '/home/des/public_html', 'OPTIONS' => [ '--verbose' ], 'EMAIL' => 'des+%%arch%%-%%branch%%@freebsd.org', @@ -92,13 +93,11 @@ my %CONFIGS = ( 'i386' => [ 'i386' ], }, 'ENV' => { - 'NOCRYPT' => 'YES', 'NOLIBC_R' => 'YES', + 'NOPERL' => 'YES', 'NOPROFILE' => 'YES', - 'NOSECURE' => 'YES', 'NO_BIND' => 'YES', 'NO_FORTRAN' => 'YES', - 'NO_KERBEROS' => 'YES', 'NO_SENDMAIL' => 'YES', }, }, @@ -113,9 +112,7 @@ my %CONFIGS = ( 'ENV' => { 'NOCRYPT' => 'YES', 'NOLIBC_R' => 'YES', - 'NOPERL' => 'YES', 'NOPROFILE' => 'YES', - 'NOSECURE' => 'YES', 'NO_BIND' => 'YES', 'NO_FORTRAN' => 'YES', 'NO_SENDMAIL' => 'YES', @@ -177,6 +174,7 @@ sub tinderbox($$$) { # Fork and start the tinderbox my @args = @{$CONFIG{'OPTIONS'}}; + push(@args, "--sandbox=$CONFIG{'SANDBOX'}"); push(@args, "--branch=$branch"); push(@args, "--arch=$arch"); push(@args, "--machine=$machine"); @@ -255,7 +253,7 @@ sub tinderbox($$$) { $recipient =~ s/\%\%arch\%\%/$arch/gi; $recipient =~ s/\%\%machine\%\%/$machine/gi; report(lc($recipient), - "$branch tinderbox failure on $arch/$machine", + "[$CONFIG{'COMMENT'}] failure on $arch/$machine", $summary); } -- cgit v1.1