X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Fprototype.conf;h=418ac8efc36b3738f4e5d4529d81b8ecd33da461;hb=c97f8d6e501e792760ee51af833db1afe51bdfee;hp=ceb82e2e275bb1de4a74519ffe71d6f5b5f61e6e;hpb=0ac68a399325d84a6602915228a87adb2166403c;p=bacula%2Fbacula diff --git a/regress/prototype.conf b/regress/prototype.conf index ceb82e2e27..418ac8efc3 100644 --- a/regress/prototype.conf +++ b/regress/prototype.conf @@ -1,3 +1,6 @@ +# Set this to the make option (usually -j3 or higher) +MAKEOPT= + # Where to get the source to be tested BACULA_SOURCE="${HOME}/bacula/bacula" @@ -7,13 +10,13 @@ SMTP_HOST="localhost" # Full "default" path where to find sqlite (no quotes!) SQLITE3_DIR=${HOME}/bacula/depkgs/sqlite3 -SQLITE_DIR=${HOME}/bacula/depkgs/sqlite + +# Set what backend to use "postresql" "mysql" or "sqlite3" +DBTYPE="postgresql" # Set your database here -#WHICHDB="--with-sqlite=${SQLITE_DIR}" -#WHICHDB="--with-sqlite3=${SQLITE3_DIR}" -#WHICHDB="--with-postgresql" -WHICHDB="--with-mysql" +#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 @@ -50,7 +53,7 @@ AUTOCHANGER_PATH="/usr/sbin/mtx" # DB parameters db_name="regress" db_user="regress" -db_password= +db_password="" # Set this if you use libdbi framework #LIBDBI="dbdriver = "dbi:postgresql"; dbaddress = 127.0.0.1; dbport = 5432" @@ -89,13 +92,52 @@ BASEPORT=8101 # SITE_NAME=-bacula-${HOST} +# If you want to use the full source tree to run test uncomment this +# KEEP_SOURCE=yes + # # 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. # +# 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 + +# +# Testing remote FD +# + +# 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"