]> git.sur5r.net Git - bacula/bacula/commitdiff
regress: fix accurate test when db_name!=regress
authorEric Bollengier <eric@eb.homelinux.org>
Mon, 19 Apr 2010 15:06:30 +0000 (17:06 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:53:43 +0000 (16:53 +0200)
regress/tests/accurate-test

index cab181c7f37c2df5a099f7c2ce97a3e33bd9d7ef..a866719a0e9f8b7af9f23bc5c6a3523d377e1ad0 100755 (executable)
@@ -288,7 +288,7 @@ echo "volume=TestVolume001" >tmp/bscan.bsr
 
 bscan_libdbi
 
-$bin/bscan -c $conf/bacula-sd.conf $BSCANLIBDBI -n regress -u regress -m -s -b $tmp/bscan.bsr FileStorage 2>&1 > $tmp/bscan.log
+$bin/bscan -c $conf/bacula-sd.conf $BSCANLIBDBI -n "$db_name" -u "$db_user" -m -s -b $tmp/bscan.bsr FileStorage 2>&1 > $tmp/bscan.log
 
 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
 @$out ${cwd}/tmp/log1.out