From 8b6984b0fd9c0bd46411dc1423e3e369aec65159 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Mon, 26 Apr 2010 17:59:05 +0200 Subject: [PATCH] Reduce accurate test output when not debug --- regress/tests/accurate-test | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/regress/tests/accurate-test b/regress/tests/accurate-test index 98140398de..21ae4544c1 100755 --- a/regress/tests/accurate-test +++ b/regress/tests/accurate-test @@ -21,12 +21,14 @@ cp tmp/1 $conf/bacula-fd.conf change_jobname BackupClient1 $JobName p() { - echo "##############################################" >> ${cwd}/tmp/log1.out - echo "$*" >> ${cwd}/tmp/log1.out - echo "##############################################" >> ${cwd}/tmp/log2.out - echo "$*" >> ${cwd}/tmp/log2.out - echo "##############################################" - echo "$*" + echo "##############################################" >> ${cwd}/tmp/log1.out + echo "$*" >> ${cwd}/tmp/log1.out + echo "##############################################" >> ${cwd}/tmp/log2.out + echo "$*" >> ${cwd}/tmp/log2.out + if test "$debug" -eq 1 ; then + echo "##############################################" + echo "$*" + fi } # cleanup -- 2.39.5