]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/regress-config
Update
[bacula/bacula] / regress / scripts / regress-config
index 95c8883892eb6ebb3b8bdf5e728a056eba7c3383..3d288c83f76930e3c8c9656859176ae34b96738a 100755 (executable)
@@ -3,20 +3,26 @@
 # This is the configuration script for regression testing
 #
 
+. ${1}/config
+
 CFLAGS="-g -O2 -Wall" \
  ./configure \
-    --sbindir=$1/bin \
-    --sysconfdir=$1/bin \
-    --mandir=$1/bin \
-    --with-pid-dir=$1/working \
-    --with-subsys-dir=$1/working \
+    --sbindir=${1}/bin \
+    --sysconfdir=${1}/bin \
+    --mandir=${1}/bin \
+    --with-pid-dir=${1}/working \
+    --with-subsys-dir=${1}/working \
     --enable-smartalloc \
     --disable-readline \
-    --with-working-dir=$1/working \
-    --with-dump-email=$2 \
-    --with-job-email=$2 \
-    $3 \
-    --with-baseport=8101 \
-    $4
+    --with-working-dir=${1}/working \
+    --with-dump-email=${EMAIL} \
+    --with-job-email=${EMAIL} \
+    --with-smtp-host=${SMTP_HOST} \
+    --with-db-name=regress \
+    --with-db-user=regress \
+    ${OPENSSL} \
+    ${TCPWRAPPERS} \
+    ${WHICHDB} \
+    --with-baseport=8101
 
 exit 0