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 -1
View File
@@ -55,7 +55,7 @@ trap "rm -rf $tmp.*; exit \$status" 0 1 2 3 15
# real QA test starts here # real QA test starts here
_require_tape _require_tape $TAPE_DEV
_create_dumpdir_stress _create_dumpdir_stress
_erase_hard _erase_hard
_do_dump_sub _do_dump_sub
+1 -1
View File
@@ -54,7 +54,7 @@ trap "rm -rf $tmp.*; exit \$status" 0 1 2 3 15
# real QA test starts here # real QA test starts here
_require_tape _require_tape $TAPE_DEV
_create_dumpdir_fill _create_dumpdir_fill
_erase_hard _erase_hard
_do_dump_sub _do_dump_sub
+1 -1
View File
@@ -53,7 +53,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
# real QA test starts here # real QA test starts here
_require_tape _require_tape $TAPE_DEV
_create_dumpdir_fill _create_dumpdir_fill
_erase_hard _erase_hard
_do_dump _do_dump
+1 -1
View File
@@ -53,7 +53,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
# real QA test starts here # real QA test starts here
_require_tape _require_tape $TAPE_DEV
_create_dumpdir_fill _create_dumpdir_fill
_erase_hard _erase_hard
_do_dump_min _do_dump_min
+1 -1
View File
@@ -53,7 +53,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
# real QA test starts here # real QA test starts here
_require_tape _require_tape $TAPE_DEV
_create_dumpdir_fill _create_dumpdir_fill
_erase_hard _erase_hard
_do_dump -L $seq.1 _do_dump -L $seq.1
+1 -1
View File
@@ -55,7 +55,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
# real QA test starts here # real QA test starts here
_require_tape _require_tape $TAPE_DEV
_create_dumpdir_fill _create_dumpdir_fill
_erase_hard _erase_hard
_do_dump_sub _do_dump_sub
+1
View File
@@ -88,6 +88,7 @@ in
SCRATCH_LOGDEV=/dev/sda7 SCRATCH_LOGDEV=/dev/sda7
TAPE_DEV=/dev/st0 TAPE_DEV=/dev/st0
RMT_TAPE_DEV=fuzzy:/dev/st0 RMT_TAPE_DEV=fuzzy:/dev/st0
RMT_IRIXTAPE_DEV=snort:/dev/tape
;; ;;
bruce) bruce)
TEST_DEV=/dev/sda10 TEST_DEV=/dev/sda10
+1 -5
View File
@@ -198,11 +198,7 @@ _set_variable()
_require_tape() _require_tape()
{ {
if [ $# -eq 0 ]; then dumptape=$1
dumptape=$TAPE_DEV
else
dumptape=$1
fi
if [ -z "$dumptape" ]; then if [ -z "$dumptape" ]; then
echo "This test requires a dump tape - none was specified" echo "This test requires a dump tape - none was specified"