]> git.sur5r.net Git - bacula/bacula/commitdiff
Possible fix for big-files-test
authorKern Sibbald <kern@sibbald.com>
Sat, 17 Apr 2010 13:38:37 +0000 (15:38 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:52:33 +0000 (16:52 +0200)
regress/tests/big-files-test

index ff5f5fb3f9082f65904913e2d8f84807755cce80..cdc72b2450d1e4592adf5c43dd14350cc2a44c9a 100755 (executable)
@@ -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