From 7dbcaf60aa4d0e883272495d7a094038ffebcea3 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Mon, 29 Dec 2003 17:01:15 +0000 Subject: [PATCH] Update README + echo source directory used git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@965 91ce42f0-d328-0410-95d8-f526ca767f89 --- regress/README | 16 ++++++++++++++++ regress/scripts/setup | 1 + 2 files changed, 17 insertions(+) diff --git a/regress/README b/regress/README index be9890a88f..c63b737ed7 100644 --- a/regress/README +++ b/regress/README @@ -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 + +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. + diff --git a/regress/scripts/setup b/regress/scripts/setup index 8ef7b88347..0b01c0928a 100755 --- a/regress/scripts/setup +++ b/regress/scripts/setup @@ -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 -- 2.39.2