From: Kern Sibbald Date: Fri, 30 Mar 2007 22:01:29 +0000 (+0000) Subject: Change name of db to regress X-Git-Tag: Release-7.0.0~6660 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7c52ff6fb2806d25c3f7e0c1d37f4503e3dbdee0;p=bacula%2Fbacula Change name of db to regress git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4465 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/regress/scripts/new-test-bacula-dir.conf.in b/regress/scripts/new-test-bacula-dir.conf.in index d0e4ba0654..ff30852bd8 100644 --- a/regress/scripts/new-test-bacula-dir.conf.in +++ b/regress/scripts/new-test-bacula-dir.conf.in @@ -124,7 +124,7 @@ Job { Messages = Standard Pool = Default # This creates an ASCII copy of the catalog - RunBeforeJob = "@sbindir@/make_catalog_backup -u bacula" + RunBeforeJob = "@sbindir@/make_catalog_backup -u regress" # This deletes the copy of the catalog RunAfterJob = "@sbindir@/delete_catalog_backup" Write Bootstrap = "@working_dir@/BackupCatalog.bsr" @@ -323,7 +323,7 @@ Storage { # Generic catalog service Catalog { Name = MyCatalog - dbname = bacula; user = bacula; password = "" + dbname = regress; user = regress; password = "" } # Reasonable message delivery -- send most everything to email address diff --git a/regress/scripts/regress-config b/regress/scripts/regress-config index 7fdae76929..6f8d947671 100755 --- a/regress/scripts/regress-config +++ b/regress/scripts/regress-config @@ -16,6 +16,8 @@ CFLAGS="-g -O2 -Wall" \ --with-dump-email=$2 \ --with-job-email=$2 \ --with-smtp-host=$5 \ + --with-db-name=regress \ + --with-db-user=regress \ $3 \ --with-baseport=8101 \ $4 \ diff --git a/regress/scripts/test-bacula-dir.conf.in b/regress/scripts/test-bacula-dir.conf.in index 59dbc6f287..7a4d72bf34 100644 --- a/regress/scripts/test-bacula-dir.conf.in +++ b/regress/scripts/test-bacula-dir.conf.in @@ -112,7 +112,7 @@ Job { Messages = Standard Pool = Default # This creates an ASCII copy of the catalog - RunBeforeJob = "@sbindir@/make_catalog_backup -u bacula" + RunBeforeJob = "@sbindir@/make_catalog_backup -u regress" # This deletes the copy of the catalog RunAfterJob = "@sbindir@/delete_catalog_backup" Write Bootstrap = "@working_dir@/BackupCatalog.bsr" @@ -260,7 +260,7 @@ Storage { # Generic catalog service Catalog { Name = MyCatalog - dbname = bacula; user = bacula; password = "" + dbname = regress; user = regress; password = "" } # Reasonable message delivery -- send most everything to email address diff --git a/regress/scripts/testa-bacula-dir.conf.in b/regress/scripts/testa-bacula-dir.conf.in index ce433854f6..b5d8d3df67 100644 --- a/regress/scripts/testa-bacula-dir.conf.in +++ b/regress/scripts/testa-bacula-dir.conf.in @@ -102,7 +102,7 @@ Storage { # Generic catalog service Catalog { Name = MyCatalog - dbname = bacula; user = bacula; password = "" + dbname = regress; user = regress; password = "" } # Reasonable message delivery -- send most everything to email address diff --git a/regress/tests/bscan-fast-tape b/regress/tests/bscan-fast-tape index 2c8121896d..2a54d4bf1d 100755 --- a/regress/tests/bscan-fast-tape +++ b/regress/tests/bscan-fast-tape @@ -62,7 +62,7 @@ cd .. echo "Begin attempt to read tape that crashes the system" echo "volume=TestVolume001" >tmp/bscan.bsr -strace -o strace.new bin/bscan -d200 -w working -m -s -v -b tmp/bscan.bsr -c bin/bacula-sd.conf DDS-4 +strace -o strace.new bin/bscan -d200 -w working -u regress -n regress -m -s -v -b tmp/bscan.bsr -c bin/bacula-sd.conf DDS-4 exit cat <tmp/bconcmds @$out /dev/null diff --git a/regress/tests/bscan-tape b/regress/tests/bscan-tape index 7f7e708c1e..56ef6e273b 100755 --- a/regress/tests/bscan-tape +++ b/regress/tests/bscan-tape @@ -115,7 +115,7 @@ cd bin cd .. echo "volume=TestVolume001" >tmp/bscan.bsr -bin/bscan -w working -m -s -v -b tmp/bscan.bsr -c bin/bacula-sd.conf DDS-4 2>&1 >/dev/null +bin/bscan -w working -u regress -n regress -m -s -v -b tmp/bscan.bsr -c bin/bacula-sd.conf DDS-4 2>&1 >/dev/null cat <tmp/bconcmds @$out /dev/null diff --git a/regress/tests/bscan-test b/regress/tests/bscan-test index 91fa8598a2..92e81651d6 100755 --- a/regress/tests/bscan-test +++ b/regress/tests/bscan-test @@ -53,9 +53,9 @@ stop_bacula echo "volume=TestVolume001|TestVolume002" >tmp/bscan.bsr if test "$debug" -eq 1 ; then - bin/bscan -w working -m -s -v -b tmp/bscan.bsr -c bin/bacula-sd.conf ${cwd}/tmp + bin/bscan -w working -u regress -n regress -m -s -v -b tmp/bscan.bsr -c bin/bacula-sd.conf ${cwd}/tmp else - bin/bscan -w working -m -s -v -b tmp/bscan.bsr -c bin/bacula-sd.conf ${cwd}/tmp 2>&1 >/dev/null + bin/bscan -w working -u regress -n regress -m -s -v -b tmp/bscan.bsr -c bin/bacula-sd.conf ${cwd}/tmp 2>&1 >/dev/null fi cat <tmp/bconcmds