From: Kern Sibbald Date: Mon, 14 Mar 2005 19:31:49 +0000 (+0000) Subject: Upgrade to 1.37 style Includes X-Git-Tag: Release-1.38.0~594 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=30c4452c1d87303e9e04ea2f6c09aa93feb17791;p=bacula%2Fbacula Upgrade to 1.37 style Includes git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1888 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/regress/endtime b/regress/endtime index 8a218b67fc..faf419f70d 100755 --- a/regress/endtime +++ b/regress/endtime @@ -5,4 +5,8 @@ t = now() fn = open('time.out', 'r') s = fn.readline() fn.close() -print 'Total time: %d secs' % (t - float(s)) +diff = t - float(s) +h = int(diff / 3600) +m = int((diff - h * 3600) / 60) +sec = diff - h * 3600 - m * 60 +print 'Total time = %d:%02d:%02d or %d secs' % (h, m, sec, t - float(s)) diff --git a/regress/scripts/bacula-dir-tape.conf.in b/regress/scripts/bacula-dir-tape.conf.in index 9cbb557727..865d7bf398 100644 --- a/regress/scripts/bacula-dir-tape.conf.in +++ b/regress/scripts/bacula-dir-tape.conf.in @@ -56,8 +56,8 @@ Job { # List of files to be backed up FileSet { Name = "Full Set" - Include = signature=MD5 { - >working/log echo " " -#bin/bacula start 2>&1 >/dev/null -bin/bacula start +bin/bacula start 2>&1 >/dev/null +#bin/bacula start bin/bconsole -c bin/bconsole.conf <