Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > df754e4e6f7f5fc8ab9d6ed8559f3e3d > files > 98

bacula-docs-5.0.3-19.fc16.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<!--Converted with LaTeX2HTML 2008 (1.71)
original version by:  Nikos Drakos, CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>Testing a Binary Installation</TITLE>
<META NAME="description" CONTENT="Testing a Binary Installation">
<META NAME="keywords" CONTENT="developers">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META NAME="Generator" CONTENT="LaTeX2HTML v2008">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

<LINK REL="STYLESHEET" HREF="developers.css">

<LINK REL="next" HREF="Running_Single_Test.html">
<LINK REL="previous" HREF="Running_Regression_Script.html">
<LINK REL="up" HREF="Bacula_Regression_Testing.html">
<LINK REL="next" HREF="Running_Single_Test.html">
</HEAD>

<BODY >
<!--Navigation Panel-->
<A NAME="tex2html1495"
  HREF="Running_Single_Test.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html1489"
  HREF="Bacula_Regression_Testing.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html1483"
  HREF="Running_Regression_Script.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html1491"
  HREF="Contents.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html1493"
  HREF="GNU_Free_Documentation_Lice.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html1496"
  HREF="Running_Single_Test.html">Running a Single Test</A>
<B> Up:</B> <A NAME="tex2html1490"
  HREF="Bacula_Regression_Testing.html">Bacula Regression Testing</A>
<B> Previous:</B> <A NAME="tex2html1484"
  HREF="Running_Regression_Script.html">Running the Regression Script</A>
 &nbsp; <B>  <A NAME="tex2html1492"
  HREF="Contents.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html1494"
  HREF="GNU_Free_Documentation_Lice.html">Index</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H1><A NAME="SECTION001530000000000000000"></A>
<A NAME="5245"></A>
<BR>
Testing a Binary Installation
</H1>

<P>
If you have installed your Bacula from a binary release such as (rpms or debs),
you can still run regression tests on it.
First, make sure that your regression <B>config</B> file uses the same catalog backend as
your installed binaries. Then define the variables <TT>bin</TT> and <TT>scripts</TT> variables
in your config file.

<P>
Example:
<PRE>
bin=/opt/bacula/bin
scripts=/opt/bacula/scripts
</PRE>

<P>
The <TT>./scripts/prepare-other-loc</TT> will tweak the regress scripts to use
your binary location. You will need to run it manually once before you run any
regression tests.

<P>
<PRE>
$ ./scripts/prepare-other-loc
$ ./tests/backup-bacula-test
...
</PRE>

<P>
All regression scripts must be run by hand or by calling the test scripts.  
These are principally scripts that begin with <B>all_...</B> such as <B>all_disk_tests</B>,
<B>./all_test</B> ...
None of the 
<B>./do_disk</B>, <B>./do_all</B>, <B>./nightly...</B>  scripts will work.

<P>
If you want to switch back to running the regression scripts from source, first
remove the <B>bin</B> and <B>scripts</B> variables from your <B>config</B> file and
rerun the <B>make setup</B> step.

<P>
<BR><HR>
<ADDRESS>

2012-01-24
</ADDRESS>
</BODY>
</HTML>