From: Kern Sibbald Date: Fri, 21 Dec 2012 14:45:57 +0000 (+0100) Subject: Force DEVELOPER on during regression setup X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=90c96034507addbd1d0aac47b3800ce1c1c0d849;p=bacula%2Fbacula Force DEVELOPER on during regression setup --- 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