specify dump tape for _require_tape.

do this for cleanup and make tape variable existence
testing simpler
This commit is contained in:
fsgqa
2001-02-02 04:31:55 +00:00
parent 0a95a8aaee
commit 8d82c7241c
8 changed files with 8 additions and 11 deletions
+1 -5
View File
@@ -198,11 +198,7 @@ _set_variable()
_require_tape()
{
if [ $# -eq 0 ]; then
dumptape=$TAPE_DEV
else
dumptape=$1
fi
dumptape=$1
if [ -z "$dumptape" ]; then
echo "This test requires a dump tape - none was specified"