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.
By the way, Bacula version 9.0.0 (currently labeled as version 7.9.0) is
almost ready for testing. I hope to push it to the repo before the end
of next week (possibly sooner). The biggest issue aside from testing on
multiple OSes is the documentation.
Best regards,
Kern
On 05/08/2017 05:21 PM, Andrea Venturoli wrote:
> On 03/09/17 15:40, Dan Langille wrote:
>
>> Have a read of
>> http://www.bacula.org/7.0.x-manuals/en/developers/Bacula_Regression_Testing.html
>> ..
>> No, I think overlapping tests are good. Please proceed.
> Hello.
>
> I'm finally giving a shot at this, running it all inside a jail, but I'm
> encountering some problems.
>
>
>
> First of all, I'd like to use Postgres, but the server is running on
> another box and the tests are trying to reach it via UNIX socket: how do
> I tell them to connect to a remote address via TCP/IP?
>
>
>
> Going over this error, I later get:
>> echo "Doing: scripts/do_sed"
>> Doing: scripts/do_sed
>> scripts/do_sed
>> ./scripts/get-os: 5: Bad file descriptor
>> : error: cannot run /bin/csh scripts/config.sub
>> ./scripts/get-os: 5: Bad file descriptor
>> : error: cannot run /bin/csh scripts/config.sub
> Any hint on this?
>
>
>
> bye & Thanks
> av.
>
> ------------------------------------------------------------------------------
> 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 AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
------------------------------------------------------------------------------
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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|