From: Eric Bollengier Date: Sun, 1 Jun 2008 08:14:14 +0000 (+0000) Subject: ebl fix two-pool-tape for faketape X-Git-Tag: Release-2.4.0~8 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ffb24b6636ab76569d48922dd1449088ee234ee7;p=bacula%2Fbacula ebl fix two-pool-tape for faketape git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.2@7081 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/regress/scripts/prepare-two-tapes.in b/regress/scripts/prepare-two-tapes.in index 73ad83c879..95dad305c0 100755 --- a/regress/scripts/prepare-two-tapes.in +++ b/regress/scripts/prepare-two-tapes.in @@ -8,7 +8,7 @@ scripts/cleanup if test x@autochanger@ != x/dev/null; then - slot=`bin/@changer_script@ @autochanger@ loaded 0 dummy $DRIVE1` + slot=`bin/@changer_script@ @autochanger@ loaded 0 @tape_drive@ $DRIVE1` if test "x${slot}" != "x$SLOT2"; then bin/@changer_script@ @autochanger@ unload $slot @tape_drive@ $DRIVE1 bin/@changer_script@ @autochanger@ load $SLOT2 @tape_drive@ $DRIVE1 @@ -21,7 +21,7 @@ fi # If we have an autochanger always load tape in slot 1 # if test x@autochanger@ != x/dev/null; then - slot=`bin/@changer_script@ @autochanger@ loaded 0 dummy $DRIVE1` + slot=`bin/@changer_script@ @autochanger@ loaded 0 @tape_drive@ $DRIVE1` if test "x${slot}" != "x$SLOT1"; then bin/@changer_script@ @autochanger@ unload $slot @tape_drive@ $DRIVE1 bin/@changer_script@ @autochanger@ load $SLOT1 @tape_drive@ $DRIVE1