From c5b7ad0463f7d4715942cd95a30e9a507badd877 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 13 Feb 2010 17:21:34 +0100 Subject: [PATCH] Tweak big-files-test --- regress/tests/big-files-test | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/regress/tests/big-files-test b/regress/tests/big-files-test index 6daa915bcd..ff5f5fb3f9 100755 --- a/regress/tests/big-files-test +++ b/regress/tests/big-files-test @@ -18,12 +18,13 @@ echo "${cwd}/many-files" >${cwd}/tmp/file-list if [ ! -f ${cwd}/many-files/100000file100000 ]; then mkdir -p ${cwd}/many-files cd ${cwd}/many-files - print_debug "Creating files..." - time perl -e 'for($i=0; $i < 2000000; $i++) {open(FP, ">${i}file${i}") or die "$!"; print FP "$i\n"; close(FP); print "." if ($i%10000);}' + print_debug "Creating 2000000 files..." + 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 -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%# 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 change_jobname MonsterFileSet $JobName start_test -- 2.39.5