From 87843056e53f7ff72d20bae0837f9be31a7a33b7 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Thu, 21 Feb 2002 07:07:52 +0000 Subject: [PATCH] test-suite-run-script-make-setup-not-use-localcell-inadvertantly-20020221 was a case where we could end up testing "localcell" by accident --- 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 5875bd602..0f93cef64 100755 --- a/src/tests/run-suite.pl +++ b/src/tests/run-suite.pl @@ -104,6 +104,14 @@ run("$openafsinitcmd->{'filesrv-start'}"); unwind("$openafsinitcmd->{'filesrv-stop'}"); unwind("/bin/rm -f $openafsdirpath->{'afslocaldir'}/BosConfig"); $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