3 # Cleanup left over files -- both before and after test run
10 if test x@autochanger@ != x/dev/null; then
11 slot=`bin/@changer_script@ @autochanger@ loaded 0 @tape_drive@ $DRIVE1`
12 if test "x${slot}" != "x$SLOT2"; then
13 bin/@changer_script@ @autochanger@ unload $slot @tape_drive@ $DRIVE1
14 bin/@changer_script@ @autochanger@ load $SLOT2 @tape_drive@ $DRIVE1
16 init_drive @tape_drive@
21 # If we have an autochanger always load tape in slot 1
23 if test x@autochanger@ != x/dev/null; then
24 slot=`bin/@changer_script@ @autochanger@ loaded 0 @tape_drive@ $DRIVE1`
25 if test "x${slot}" != "x$SLOT1"; then
26 bin/@changer_script@ @autochanger@ unload $slot @tape_drive@ $DRIVE1
27 bin/@changer_script@ @autochanger@ load $SLOT1 @tape_drive@ $DRIVE1
31 init_drive @tape_drive@