From 5d88d95e0cf8925debcf8d073d9f59c6b11a3122 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 21 Jul 2007 18:45:27 +0000 Subject: [PATCH] Optimize big-vol-test git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5213 91ce42f0-d328-0410-95d8-f526ca767f89 --- regress/tests/big-vol-test | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) 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 -- 2.39.5