]> git.sur5r.net Git - bacula/bacula/commitdiff
Update README + echo source directory used
authorKern Sibbald <kern@sibbald.com>
Mon, 29 Dec 2003 17:01:15 +0000 (17:01 +0000)
committerKern Sibbald <kern@sibbald.com>
Mon, 29 Dec 2003 17:01:15 +0000 (17:01 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@965 91ce42f0-d328-0410-95d8-f526ca767f89

regress/README
regress/scripts/setup

index be9890a88f749a600da4e237cde0872ce68120fa..c63b737ed7c1c8e466cc1ea64e4f315e613b2b97 100644 (file)
@@ -83,3 +83,19 @@ To avoid re-doing a make setup if you have made a change to the
 conf files, and you do not need a new copy of the source, you can simply do:
 
    scripts/do-sed <your-email-address>
+
+Debugging failed tests:
+The simplest thing to do is to edit tests/xxxx where xxxx is the name of
+a or the test that is failing and change all:
+ @output
+
+to
+  
+ @tee
+
+re-run the test. The output will display on your terminal.  In rare cases,        
+for example to get bacula debug output, you might want to remove the
+"2>&1 >/dev/null" from the end of the bin/bacula call or from the end
+of the diff call, assuming you want to "see" the diff output.
+    
index 8ef7b8834739d9fc5de897c2db2c3100a63c7555..0b01c0928a0adbb765af48afe972e8b46c6d0657 100755 (executable)
@@ -16,6 +16,7 @@ if [ ! -d $1 ] ; then
 fi
 rm -rf build bin
 # Copy new source
+echo "Copying source from $1"
 cp -rp $1 build
 cp scripts/regress-config build
 cd build