]> git.sur5r.net Git - bacula/bacula/blob - regress/README.mingw32
Make out of freespace non-fatal for removable devices -- i.e. behaves like tape
[bacula/bacula] / regress / README.mingw32
1   Re: [Bacula-devel] Win32 Regression Scripts
2 From: "Michael Short" <michael@securenets.us>  (Securenets.us)
3   To: bacula-devel@lists.sourceforge.net
4 Date: 30 August 2007 04:09:00
5    
6
7 Hey guys, I've made a bit of progress on the win32 regression scripts.
8
9 In order to use the win32 bacula regression scripts, it is important to have
10 some unix tools (such as sed, grep, and diff).  To make things simple, I
11 downloaded UnxUtils from http://sourceforge.net/projects/unxutils
12
13 Extract this somewhere on your hdd and add the the files in usr\local\wbin to
14 c:\regress\tools and then add c:\regress\tools to your {$PATH} on your windows
15 box.  If you also want to make use of the shell (from unxutils) you may want
16 to add the ./bin directory as well (or just copy the sh.exe file to
17 usr\local\wbin).
18
19 Now that you have a working toolset (with sed) we can continue setting up
20 regression tools. Compile the Ming32 version of bacula (from linux) and then
21 copy the entire source directory of bacula (with binaries) to somewhere on
22 your windows hdd (say... C:\bacula :P).
23
24 Copy a version of the regression scripts ( from regress/win32 ) to your
25 windows hdd (hmm... C:\regress ). Edit the prototype.conf file and set your
26 bacula source directory ( C:/bacula ) and your e-mail address (!!). Run
27 "config prototype.conf" from within the regression directory to configure
28 the regression scripts.
29
30 Edit regress\scripts\install_bacula.cmd and replace "COPY bin\sqlite.dll
31 bin\bacula_cats.dll > nul" and replace "cats_sqlite.dll" with
32 "cats_sqlite3.dll". ( FixMe )
33
34 >From the regress directory, run "make setup" and the script should copy the
35 binaries from the bacula sources and create a local bacula testing platform.
36 -----------
37
38 After the "make setup" all the configuration files are blank, so you must
39 fix that before running the scripts.
40
41 With the above, most of the regressions scripts seem to function flawlessly.
42
43 [KES] The ones that fail have probably been modified on the Unix side
44       after the port was done, so they may need some minor updates.