> On May 8, 2017, at 1:04 PM, Andrea Venturoli <m...@netfence.it> wrote: > > On 05/08/17 18:51, Kern Sibbald wrote: >> Hello, >> In the next week or two, it will be *very* important for users to have >> regression scripts running, because finding problems now will allow me to >> fix them before the release. >> To answer your question: normally you configure the Catalog interface >> details in the Catalog {} resource of the Director, but most of the >> bacula-dir.conf files that are used in regression testing, and there are >> many of them, are "canned", which means I am not sure that you can easily >> change the Catalog resource in each of these scripts. You might be able to >> do it with a simple sed command that adds what Dan recommends. You would >> point sed at all the *bacula-dir*.in files that are in <regress>/scripts. >> It might be easier to bring up a new local postgres on your test machine or >> possibly a MySQL. > > Thanks Dan and Kern for your answers. > > AFAIK Postgres does not run in a jail (where I'm running the tests), unless > you set up your machine in such a way that the whole purpose of jails is > defeated, so this is a no-go.
I run PostgreSQL in my jails. Every one of my Bacula regression tests run in a separate jail. > I'd be interested in testing Postgres, since all my setups are based on this; > however, I'll choose sqlite over MySQL if I have to (i.e. if the sed you > suggest don't work). I'd prefer PostgreSQL too... -- Dan Langille - BSDCan / PGCon d...@langille.org ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users