Other Tests

There are a number of other tests that can be run as well. All the tests are a simply shell script keep in the regress directory. For example the make test simply executes ./all-non-root-tests. The other tests, which are invoked by directly running the script are:

all_non-root-tests

All non-tape tests not requiring root. This is the standard set of tests, that in general, backup some data, then restore it, and finally compares the restored data with the original data.

all-root-tests

All non-tape tests requiring root permission. These are a relatively small number of tests that require running as root. The amount of data backed up can be quite large. For example, one test backs up /usr, another backs up /etc. One or more of these tests reports an error – I’ll fix it one day.

all-non-root-tape-tests

All tape test not requiring root. There are currently three tests, all run without being root, and backup to a tape. The first two tests use one volume, and the third test requires an autochanger, and uses two volumes. If you don’t have an autochanger, then this script will probably produce an error.

all-tape-and-file-tests

All tape and file tests not requiring root. This includes just about everything, and I don’t run it very often.

Possible Next Steps

Go to Bacula MD5 Algorithm.

Go back to Bacula Regression Testing.

Go back to Developer Guide.