export BACULA_REGRESS_HOME
#
-# Lets use the SUN compiler
+# Directory where regress config templates are stored per db type.
#
-CC="/usr/bin/cc"
-CXX="/usr/bin/CC"
-CFLAGS="-fast"
-CXXFLAGS="-fast"
+CONFIG_DIR="/root/configs"
-export CC CXX CFLAGS CXXFLAGS
+#
+# Lets use the SUN compiler
+#
+#CC="/usr/bin/cc"
+#CXX="/usr/bin/CC"
+#CFLAGS="-fast"
+#CXXFLAGS="-fast"
+#
+#export CC CXX CFLAGS CXXFLAGS
#
# Regression script to run
#
# Run regression using sqlite3
#
- if [ -f /root/configs/config.sqlite3 ]; then
- ln -sf /root/configs/config.sqlite3 config
+ if [ -f ${CONFIG_DIR}/config.sqlite3 ]; then
+ ln -sf ${CONFIG_DIR}/config.sqlite3 config
if [ $? = 0 ]; then
run_regression
fi
#
# Run regression using postgresql
#
- if [ -f /root/configs/config.postgresql ]; then
- ln -sf /root/configs/config.postgresql config
+ if [ -f ${CONFIG_DIR}/config.postgresql ]; then
+ ln -sf ${CONFIG_DIR}/config.postgresql config
if [ $? = 0 ]; then
run_regression
fi
#
# Run regression using mysql
#
- if [ -f /root/configs/config.mysql ]; then
- ln -sf /root/configs/config.mysql config
+ if [ -f ${CONFIG_DIR}/config.mysql ]; then
+ ln -sf ${CONFIG_DIR}/config.mysql config
if [ $? = 0 ]; then
run_regression
fi