3 # Cleanup left over files -- both before and after test run
5 # Write an EOF on tape in slot $SLOT1 and on tape in $SLOT2
12 # init first of two slots
13 # optimize so we don't unnecessarily unload and load slots
15 if test x@autochanger@ != x/dev/null; then
16 slot=`bin/@changer_script@ @autochanger@ loaded 0 @tape_drive@ $DRIVE1`
19 bin/@changer_script@ @autochanger@ load $SLOT1 @tape_drive@ $DRIVE1
20 init_drive @tape_drive@
24 init_drive @tape_drive@
28 init_drive @tape_drive@
36 bin/@changer_script@ @autochanger@ unload $slot @tape_drive@ $DRIVE1
37 bin/@changer_script@ @autochanger@ load $SLOT2 @tape_drive@ $DRIVE1
38 init_drive @tape_drive@
41 bin/@changer_script@ @autochanger@ unload $slot @tape_drive@ $DRIVE1
42 bin/@changer_script@ @autochanger@ load $SLOT1 @tape_drive@ $DRIVE1
43 init_drive @tape_drive@