From aae1141a2afededb36eaf2c4a906e5076f87d35f Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 8 May 2008 21:20:09 +0000 Subject: [PATCH] ebl Add AUTOCHANGER_SCRIPT variable in prototype.conf (default set to mtx-changer) Add zombie check to maxtime-test git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6922 91ce42f0-d328-0410-95d8-f526ca767f89 --- regress/prototype.conf | 3 +++ regress/tests/maxtime-test | 1 + 2 files changed, 4 insertions(+) diff --git a/regress/prototype.conf b/regress/prototype.conf index 4e6638e9c2..b822d6b560 100644 --- a/regress/prototype.conf +++ b/regress/prototype.conf @@ -35,6 +35,9 @@ TAPE_DRIVE1="/dev/null" # Set this if you are using fake tape driver #USE_FAKETAPE=--enable-faketape +# Change this to use disk-changer with faketape +AUTOCHANGER_SCRIPT=mtx-changer + # This must be the path to the autochanger including its name AUTOCHANGER_PATH="/usr/sbin/mtx" diff --git a/regress/tests/maxtime-test b/regress/tests/maxtime-test index 39c20081f8..fca2c57ba9 100755 --- a/regress/tests/maxtime-test +++ b/regress/tests/maxtime-test @@ -43,6 +43,7 @@ END_OF_DATA mkfifo ${cwd}/tmp/fifo3) 2> /dev/null run_bacula +check_for_zombie_jobs storage=File stop_bacula rm ${cwd}/tmp/fifo ${cwd}/tmp/fifo2 ${cwd}/tmp/fifo3 -- 2.39.5