]> git.sur5r.net Git - bacula/bacula/blob - regress/README
Minor updates
[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.  The working scrips as of 24 Apr 03 are:
28
29 backup-bacula-test
30 sparse-test
31 compressed-test
32 sparse-compressed-test
33 two-jobs-test
34 wierd-files-test
35
36 The tests expect you to execute them from the main regress 
37 directory!               
38
39 You can run them individually as:
40
41    tests/two-jobs-test
42
43 or all tests:
44
45    su
46    ./all-tests
47
48 or all non-root tests
49
50   ./all-non-root-tests
51
52 after running the root tests, while still root, it is a good idea
53 to do:
54
55    make reset
56
57 this cleans up any files that may be created with root permissions.