From ce1d1c34393a1d88b8ad5815d2867b014889d42b Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Sat, 20 Apr 2002 19:45:47 +0000 Subject: [PATCH] was a case where we could end up testing "localcell" by accident (cherry picked from commit 87843056e53f7ff72d20bae0837f9be31a7a33b7) --- src/tests/run-suite.pl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/tests/run-suite.pl b/src/tests/run-suite.pl index f0fffe5b0..f9b56d28e 100755 --- a/src/tests/run-suite.pl +++ b/src/tests/run-suite.pl @@ -98,6 +98,14 @@ my $lcell = "${cellname}"; run("$openafsinitcmd->{'filesrv-start'}"); unwind("$openafsinitcmd->{'filesrv-stop'}"); $shutdown_needed = 1; + +open(THISCELL, ">$openafsdirpath->{'afsconfdir'}/ThisCell"); +print THISCELL $cellname; +close THISCELL; +open(THISCELL, ">$openafsdirpath->{'afsconfdir'}/CellServDB"); +print THISCELL ">$cellname #test cell"; +close THISCELL; + run ("$openafsdirpath->{'afssrvbindir'}/bos setcellname $server $lcell -localauth ||true"); run ("$openafsdirpath->{'afssrvbindir'}/bos addhost $server $server -localauth ||true"); run("$openafsdirpath->{'afssrvbindir'}/bos adduser $server $admin -localauth"); -- 2.39.5