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@
32 bin/@changer_script@ @autochanger@ unload $slot @tape_drive@ $DRIVE1
33 bin/@changer_script@ @autochanger@ load $SLOT1 @tape_drive@ $DRIVE1
34 init_drive @tape_drive@
42 bin/@changer_script@ @autochanger@ unload $slot @tape_drive@ $DRIVE1
43 bin/@changer_script@ @autochanger@ load $SLOT2 @tape_drive@ $DRIVE1
44 init_drive @tape_drive@
47 bin/@changer_script@ @autochanger@ unload $slot @tape_drive@ $DRIVE1
48 bin/@changer_script@ @autochanger@ load $SLOT1 @tape_drive@ $DRIVE1
49 init_drive @tape_drive@