]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/prototype.conf
Add second xattr to show bug 1806
[bacula/bacula] / regress / prototype.conf
index 28f5d3ee5eadeaf767c2907055685c47b9587bcd..418ac8efc36b3738f4e5d4529d81b8ecd33da461 100644 (file)
-#
-# Prototype personal configuration file for the regression 
-#  scripts.  Either edit this file directly, or better copy
-#  it elsewhere so it won't get overwritten.          
-#
+# Set this to the make option (usually -j3 or higher)
+MAKEOPT=
 
-#
 # Where to get the source to be tested
-#
-BACULA_SOURCE=
+BACULA_SOURCE="${HOME}/bacula/bacula"
 
-# Where to send email messages
-#
-EMAIL=
-SMTP_HOST=localhost
+# Where to send email   !!!!! Change me !!!!!!!
+EMAIL=my-name@domain.com
+SMTP_HOST="localhost"
+
+# Full "default" path where to find sqlite (no quotes!)
+SQLITE3_DIR=${HOME}/bacula/depkgs/sqlite3
+
+# Set what backend to use "postresql" "mysql" or "sqlite3"
+DBTYPE="postgresql"
+
+# Set your database here
+#WHICHDB="--with-${DBTYPE}=${SQLITE3_DIR}"
+WHICHDB="--with-${DBTYPE}" 
+
+# set to /dev/null if you do not have a tape drive
+# Note this is used for both the tape tests and the
+#   autochanger
+TAPE_DRIVE="/dev/nst0"
+
+# if you don't have an autochanger set AUTOCHANGER to /dev/null
+AUTOCHANGER="/dev/sg0"
+
+# drive index of first autochanger drive
+DRIVE1=0
+
+# drive index of second autochanger drive or "none" (in lowercase)
+DRIVE2="none"
+
+# what slot to use for first tape
+SLOT1=1
+
+# what slot to use for the second tape
+SLOT2=2
+
+# For two drive tests -- set to /dev/null if you do not have it 
+TAPE_DRIVE1="/dev/null"
+
+# Set this if you are using fake tape driver
+#USE_VTAPE=yes
 
-# Full "default" path where to find sqlite. 
-# This is only used if you do not specify a database override on the
-# make command.  
+# Change this to use disk-changer with vtape
+AUTOCHANGER_SCRIPT=mtx-changer
+
+# This must be the path to the autochanger including its name
+AUTOCHANGER_PATH="/usr/sbin/mtx"
+
+# DB parameters
+db_name="regress"
+db_user="regress"
+db_password=""
+
+# Set this if you use libdbi framework
+#LIBDBI="dbdriver = "dbi:postgresql"; dbaddress = 127.0.0.1; dbport = 5432"
+#LIBDBI="dbdriver = "dbi:sqlite"; dbaddress = 127.0.0.1; dbport = 0"
+
+# Set this to "--with-tcp-wrappers" or "--without-tcp-wrappers"
+TCPWRAPPERS="--with-tcp-wrappers"
+
+# Set this to "" to disable OpenSSL support, "--with-openssl=yes"
+# to enable it, or provide the path to the OpenSSL installation,
+# eg "--with-openssl=/usr/local"
+#   
+# Note, you can also add any other (as many as you want) special   
+#  Bacula configuration options here, such as --disable-batch-insert
 #
-#    N.B. DON'T PUT QOUTES AROUND THE PATH.
+OPENSSL="--with-openssl"
+
+# You may put your real host name here, but localhost is valid also
+#  and it has the advantage that it works on a non-newtworked machine
+HOST="127.0.0.1"
+
+# see --with-base-port at
+# http://www.bacula.org/rel-manual/Installing_Bacula.html
+# You only need to change this if you want to run more than one instance
+# of regression testing on the same box. You'll need to set BASEPORT
+# to values that do not overlap.  BASEPORT is the first of three ports
+# required by each instance, one for each of Dir, SD, and the FD.
 #
-SQLITE_DIR=${HOME}/bacula/depkgs/sqlite
+BASEPORT=8101
 
 #
-# The device name of your tape drive if you have one
+# If you want to post items to the Bacula Dart dashboard, you need to
+#  create a unique name here for each of your test machines.
+# We recommend that you prefix it by your name, and if you have multiple
+#  test machines, add some indication of the machine.
 #
-TAPE_DRIVE=/dev/nst0
-TAPE_DRIVE1=/dev/null
+SITE_NAME=<your-name>-bacula-${HOST}
+
+# If you want to use the full source tree to run test uncomment this
+# KEEP_SOURCE=yes
 
 #
-# if you don't have an autochanger set AUTOCHANGER to /dev/null
+# The following are used only if you want to run Win32 tests, which
+#   is a real pain since the Win32 machine is not localhost and you
+#   also need to specify what to backup.
+# There are a few Win32 tests e.g. tests/win32-test where this will
+#   work. You must specify the client name, its address, and a 
+#   file (which may be a directory) on the machine to backup.
+#   It will be backed up and restored to c:/tmp, but no checking
+#   of the resulting restore data is done.
 #
-AUTOCHANGER=/dev/sg0
+# Client name. Note, it must be configured to accept your regress director
+WIN32_CLIENT="yyyy"
+# Client FQDN or IP address
+WIN32_ADDR="yyyy"
+# File or Directory to backup.  This is put in the "File" directive 
+#   in the FileSet
+WIN32_FILE="c:/users/xxxx"
+# Port of Win32 client
+WIN32_PORT=9102
+# Win32 Client password
+WIN32_PASSWORD="zzzzz"
+# Where the win32 client will have to contact the SD
+WIN32_STORE_ADDR="zzzz"
+# To setup autologon and regress-win32.pl start
+# User name
+WIN32_USER=Administrator
+# Admin password
+WIN32_PASS=PasswordWin
 
 #
-# This must be the path to the autochanger including its name
+# Testing remote FD
 #
-AUTOCHANGER_PATH=/bin/mtx
 
-# Set your database here
-WHICHDB?="--with-sqlite=${SQLITE_DIR}"
-#WHICHDB="--with-mysql=${HOME}/mysql"
-
-# Set this to "--with-tcp-wrappers" or "--without-tcp-wrappers"
-TCPWRAPPERS="--with-tcp-wrappers"
+# Client name. Note, it must be configured to accept your regress director
+REMOTE_CLIENT="yyyy"
+# Client FQDN or IP address
+REMOTE_ADDR="yyyy"
+# File or Directory to backup.  This is put in the "File" directive 
+#   in the FileSet
+REMOTE_FILE="/tmp"
+# Port of Win32 client
+REMOTE_PORT=9102
+# Win32 Client password
+REMOTE_PASSWORD="zzzzz"
+# Where the win32 client will have to contact the SD
+REMOTE_STORE_ADDR="zzzz"