From: Kern Sibbald Date: Sat, 21 Jul 2007 18:45:27 +0000 (+0000) Subject: Optimize big-vol-test X-Git-Tag: Release-7.0.0~5971 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b336f5ae25f17439a2356c7d2b0900956481f97f;p=bacula%2Fbacula Optimize big-vol-test git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5213 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/regress/tests/big-vol-test b/regress/tests/big-vol-test index 36b0466591..2d500901f4 100755 --- a/regress/tests/big-vol-test +++ b/regress/tests/big-vol-test @@ -35,17 +35,11 @@ check_for_zombie_jobs storage=File # cd ${cwd}/tmp # make 1 GB file -${cwd}/build/src/tools/gigaslam +${cwd}/build/src/tools/grow TestVolume001 5200000000 if [ $? != 0 ]; then - echo "Execute of ${cwd}/build/src/tools/gigaslam failed." - rm -f gigaslam.gif + echo "Execute of ${cwd}/build/src/tools/grow failed." exit 1 fi -cat gigaslam.gif >>TestVolume001 -cat gigaslam.gif >>TestVolume001 -cat gigaslam.gif >>TestVolume001 -cat gigaslam.gif >>TestVolume001 -cat gigaslam.gif >>TestVolume001 size=`ls -l TestVolume001 | cut -f 5 -d ' '` ls -l TestVolume001 cd ${cwd} @@ -84,5 +78,4 @@ check_two_logs check_restore_diff end_test # Get rid of big files -rm -f ${cwd}/tmp/gigaslam.gif rm -f ${cwd}/tmp/TestVolume001