From: Kern Sibbald Date: Sat, 17 Apr 2010 13:38:37 +0000 (+0200) Subject: Possible fix for big-files-test X-Git-Tag: Release-7.0.0~1927 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d5189111dcd58f77691e748c57cb8fa9bb6384f8;p=bacula%2Fbacula Possible fix for big-files-test --- diff --git a/regress/tests/big-files-test b/regress/tests/big-files-test index ff5f5fb3f9..cdc72b2450 100755 --- a/regress/tests/big-files-test +++ b/regress/tests/big-files-test @@ -22,6 +22,8 @@ if [ ! -f ${cwd}/many-files/100000file100000 ]; then time perl -e 'for($i=0; $i < 2000000; $i++) {open(FP, ">${i}file${i}") or die "$!"; print FP "$i\n"; close(FP); print "\r$i " if ($i%10000);}' fi +cd $cwd} + sed 's%# Label Format% Label Format%' ${cwd}/bin/bacula-dir.conf > ${cwd}/tmp/1 # sed 's%Type = Backup%Type = Backup; Accurate = yes%' ${cwd}/tmp/1 > ${cwd}/bin/bacula-dir.conf sed 's%Type = Backup%Type = Backup%' ${cwd}/tmp/1 > ${cwd}/bin/bacula-dir.conf