From 6755b54d30c7a5d747f030c867b5a1aff6b0432e Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Tue, 14 Oct 2008 21:06:37 +0000 Subject: [PATCH] Turn off broken sh code git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7795 91ce42f0-d328-0410-95d8-f526ca767f89 --- regress/scripts/functions | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/regress/scripts/functions b/regress/scripts/functions index d7a92413da..02cc500fdb 100644 --- a/regress/scripts/functions +++ b/regress/scripts/functions @@ -119,15 +119,15 @@ get_duration() 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 +# LOG=$1 +# TIME=$2 +# OP=${3-gt} + +# T=$(get_duration $LOG) # this is not a valid "sh" command +# if [ "$T" -$OP "$TIME" ]; then +# print_debug "Expect $OP than $TIME sec, get $T" +# bstat=2 +# fi } run_bacula() -- 2.39.5