]> git.sur5r.net Git - bacula/bacula/blob - regress/README
a087726a51bbf863e457a5cd509932aefd1599d5
[bacula/bacula] / regress / README
1      Bacula Regression
2      Kern Sibbald
3      April 2003
4
5 This is Bacula's regression script directory.
6
7 To set it up, first edit Makefile and set BACULA-SOURCE to point
8 to your source.
9
10 Second, make sure that depkgs is in the parent directory of this
11 directory (i.e. at the same level) and that it is pre-built.
12
13 Then do:
14
15    make setup
16
17 You run the above one time.
18
19 Then you can run any of the tests in the tests subdirectory.
20 Each test whose name ends in -root requires you to be root for
21 a resonable run.  Each test is totally independent of any other
22 test. Aside from the required "make setup", each test is totally
23 self-initalizing and should clean up after itself.
24
25 Not all the tests yet report OK.  This is simply because there are
26 some spurious differences that I haven't yet taken the time to
27 eliminate.
28
29 The tests expect you to execute them from the main regress 
30 directory!               
31
32 You can run them individually as:
33
34    tests/two-jobs-test
35
36 or all tests:
37
38    su
39    ./all-tests
40
41 or all non-root tests
42
43   ./all-non-root-tests
44
45 after running the root tests, while still root, it is a good idea
46 to do:
47
48    make reset
49
50 this cleans up any files that may be created with root permissions.
51