It took me a while but I finally have regression testing working in a 
zone on opensolaris build 126. So this is what I had to do if anyone 
else is interested.

create a zone and install these pkg's:
        SUNWcmake, SUNWmysql5, SUNWlibm, gcc-dev
        SUNWgtar, SUNWgit, SUNWperl584usr,
        and most of SUNWgnu*

In the config file I edited the "WHICHDB=" line to read:
         WHICHDB="--with-mysql=/usr/mysql/5.0"

And then in the shell:
$ export LDFLAGS="-L/usr/mysql/5.0/lib/mysql -R/usr/mysql/5.0/lib/mysql"
$ PATH=/usr/gnu/bin:$PATH

When i first ran "make setup" it failed... couldn't create the database 
so I had to run /usr/mysql/5.0/bin/mysql -u root mysql and do this:
        grant all privileges on regress.* to ''@localhost;
        grant all privileges on regress.* to ''@"%";

I guess "make setup" is trying to create the database as an anonymous 
user??? There is probably a better way but that worked for me.

"make setup: then ran without error.... cool!
then I tried do_disk and all tests passed except this one:

=== Starting regexwhere-test at 16:55:54 ===

JobE in error


   !!!!! regexwhere-test failed!!! 16:56:21 !!!!!
    Status: zombie=0 backup=0 restore=1 diff=0
   !!!!! Bad termination status       !!!!!
    Status: backup=0 restore=1 diff=0

and the job output is:
Fatal error: Bad where regexp. where=doesnt work

I imagine that I'm missing some pkg but not having much luck figuring 
out which one. Hoping that someone else my be able to shed some light on 
the error I ran the  experimental-disk test. The results are posted to 
the Bacula Dashboard under Experimental/bear-regress-wks2

Once I can get that test working I can start running the nightly test if 
you would like to have another opensolaris tester.

Thanks for any info

-- 
   Robert W Hartzell
bear at rwhartzell.net
   RwHartzell.Net

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to