2 # Makefile for Bacula regression testing
4 # Before running, you must create a file named config containing
5 # the configuration parameters. Create it by doing:
7 # cp prototype.conf config
9 # Then edit config and set the value for what are appropriate for you.
19 # Some machines cannot handle the sticky bit and other garbage that
20 # is in weird-files, so we load and run it only on Linux machines.
23 @rm -rf bin build weird-files tmp
25 @cp weird-files.tar.gz w.tar.gz
31 echo "Doing: scripts/setup"
35 echo "Doing: scripts/do_sed"
38 # Run all non-root userid tests
42 # run all file and tape tests
44 ./all-tape-and-file-tests
46 # These tests require you to run as root
53 rm -fr tmp/* working/* Testing
56 rm -f 1 2 3 scripts/1 scripts/2 scripts/3 tests/1 tests/2 tests/3
57 find . -name .#* -exec rm -rf {} \;
59 # Reset our userid after running as root
61 chown -R ${USER}:${USER} . tmp working
66 rm -rf bin build weird-files weird-files weird-files2 tmp working