From 2235ca7a8d59bbe94e3254f4b2b0199e99884837 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 21 Dec 2012 15:45:57 +0100 Subject: [PATCH] Force DEVELOPER on during regression setup --- regress/scripts/setup | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/regress/scripts/setup b/regress/scripts/setup index 7d66033e8a..2f7a75d9ba 100755 --- a/regress/scripts/setup +++ b/regress/scripts/setup @@ -40,6 +40,12 @@ scripts/create_sed echo "s%File = @sbindir@%File = @BUILD_DIR@%g" >tmp/t$$ sed -f tmp/t$$ build/src/dird/bacula-dir.conf.in >tmp/o$$ cp tmp/o$$ build/src/dird/bacula-dir.conf.in + +# Now turn on DEVELOPER for regression testing +echo "s%^.*define DEVELOPER 1.*$%#define DEVELOPER 1%g" >tmp/t$$ +sed -f tmp/t$$ build/src/version.h >tmp/o$$ +cp tmp/o$$ build/src/version.h + rm -f tmp/t$$ tmp/o$$ # remove unneeded directories rm -rf build/txt build/src/testprogs -- 2.39.5