]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/Makefile
Make out of freespace non-fatal for removable devices -- i.e. behaves like tape
[bacula/bacula] / regress / Makefile
index d33f78c0cf190c6e1373e04541f68d03dd05995d..fc6c5712a1cd77d37b30ea6f212693ed1feb097d 100644 (file)
@@ -1,4 +1,8 @@
 #
+# 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
@@ -26,8 +30,8 @@ bacula: all
        @-gunzip w.tar.gz
        @-tar xf w.tar
        @rm -f w.tar.gz w.tar
-       @rm -rf tmp working
-       mkdir tmp working
+       @rm -rf tmp working dumps
+       mkdir tmp working dumps
        echo "Doing: scripts/setup"
        scripts/setup
 
@@ -35,13 +39,13 @@ sed:
        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:
@@ -49,8 +53,8 @@ root_test:
 
 clean:
        scripts/cleanup
-       rm -f /tmp/file-list
-       rm -fr tmp/* working/*
+       rm -f tmp/file-list
+       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
@@ -58,9 +62,9 @@ clean:
 
 # Reset our userid after running as root
 reset:
+       mkdir -p tmp working || true
        chown -R ${USER}:${USER} . tmp working
        scripts/cleanup
-       rm -f /tmp/file-list tmp/file-list
        rm -f tmp/* working/*
 
 distclean: clean