]> git.sur5r.net Git - bacula/bacula/commitdiff
regress: tweak speed test
authorEric Bollengier <eric@eb.homelinux.org>
Tue, 9 Feb 2010 12:46:20 +0000 (13:46 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:49:27 +0000 (16:49 +0200)
regress/tests/speed-test

index 987fc3b4231f0f1efcca30f38009296ab0055786..b2f38773caa564d0332a8e863f5365cf99076a0b 100755 (executable)
@@ -125,7 +125,7 @@ rm -rf ${tmp}/bacula-restores
 if [ x$db_password != x ]; then
    p="-P $db_password"
 fi
-time $src/src/tools/bbatch -r 1 -n $db_name -u $db_user $p -w $tmp >> $working/log
+(time $src/src/tools/bbatch -r 1 -n $db_name -u $db_user $p -w $tmp) >> $working/log 2>&1
 
 cp $working/log files/log${WHICHDB}-$(date +%F_%H-%M).log
 cp $tmp/log2.out files/log2${WHICHDB}-$(date +%F_%H-%M).log