#
+# Copyright (C) 2000-2015 Kern Sibbald
+# License: BSD 2-Clause; see file LICENSE-FOSS
+#
+#
# Makefile for Bacula regression testing
#
# Before running, you must create a file named config containing
@-gunzip w.tar.gz
@-tar xf w.tar
@rm -f w.tar.gz w.tar
- @rm -rf tmp working
- mkdir tmp working
- scripts/create_sed
+ @rm -rf tmp working dumps
+ mkdir tmp working dumps
echo "Doing: scripts/setup"
scripts/setup
echo "Doing: scripts/do_sed"
scripts/do_sed
-# Run all non-root userid tests
+# Run all disk tests
test:
- ./all-non-root-tests
+ ./all-disk-tests
-# run all file and tape tests
+# run all tape and disk tests
full_test:
- ./all-tape-and-file-tests
+ ./all-tape-and-disk-tests
# These tests require you to run as root
root_test:
clean:
scripts/cleanup
rm -f tmp/file-list
- rm -fr tmp/* working/* Testing
+ rm -fr tmp/* tmp2/* working/* dumps/* Testing
rm -f test.out
rm -f diff
rm -f 1 2 3 scripts/1 scripts/2 scripts/3 tests/1 tests/2 tests/3
# Reset our userid after running as root
reset:
+ mkdir -p tmp working || true
chown -R ${USER}:${USER} . tmp working
scripts/cleanup
rm -f tmp/* working/*