mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
specify dump tape for _require_tape.
do this for cleanup and make tape variable existence testing simpler
This commit is contained in:
+1
-5
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user