]> git.sur5r.net Git - bacula/bacula/commitdiff
Turn off broken sh code
authorKern Sibbald <kern@sibbald.com>
Tue, 14 Oct 2008 21:06:37 +0000 (21:06 +0000)
committerKern Sibbald <kern@sibbald.com>
Tue, 14 Oct 2008 21:06:37 +0000 (21:06 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7795 91ce42f0-d328-0410-95d8-f526ca767f89

regress/scripts/functions

index d7a92413da4b28f7f75d9af08509d1bbfacfd6c9..02cc500fdbc1820a75b3cf224539148cfe5270d9 100644 (file)
@@ -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()