]> git.sur5r.net Git - bacula/bacula/commitdiff
Optimize big-vol-test
authorKern Sibbald <kern@sibbald.com>
Sat, 21 Jul 2007 18:45:27 +0000 (18:45 +0000)
committerKern Sibbald <kern@sibbald.com>
Sat, 21 Jul 2007 18:45:27 +0000 (18:45 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5213 91ce42f0-d328-0410-95d8-f526ca767f89

regress/tests/big-vol-test

index 36b0466591614dc7b5c650b4b56006a28a8e6250..2d500901f4d5f8fec746f0937f9919849fb01ff3 100755 (executable)
@@ -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