From: Kern Sibbald Date: Tue, 14 Oct 2008 21:54:09 +0000 (+0000) Subject: Update X-Git-Tag: Release-3.0.0~796 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b411c3c068e671e7037e6c924b8da8f402c4e421;p=bacula%2Fbacula Update git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7799 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/regress/scripts/functions b/regress/scripts/functions index 6eec2cc4eb..af35e52cf0 100644 --- a/regress/scripts/functions +++ b/regress/scripts/functions @@ -110,25 +110,25 @@ check_files_written() fi } -get_duration() -{ +#get_duration() +#{ # LOG=$1 # T=`awk 'BEGIN {t["secs"]=1;t["sec"]=1;t["min"]=60;t["mins"]=60}; /Elapsed time:/ { last=$3*t[$4] } END { print last }' $LOG` # echo $T -} +#} -check_duration() -{ - LOG=$1 - TIME=$2 - OP=${3-gt} +#check_duration() +#{ +# LOG=$1 +# TIME=$2 +# OP=${3-gt} # T=$(get_duration $LOG) # if [ "$T" -$OP "$TIME" ]; then # print_debug "Expect $OP than $TIME sec, get $T" # bstat=2 # fi -} +#} run_bacula() {