diff --git a/common/dump b/common/dump index 3df61912..5d4d2aea 100644 --- a/common/dump +++ b/common/dump @@ -139,9 +139,7 @@ _check_onl() echo "ERROR: mt -f $dumptape failed" cat $tmp.status - echo "mt -f $dumptape failed" >$seq.notrun - status=$NOTRUNSTS - exit + _notrun "mt -f $dumptape failed" fi @@ -151,9 +149,7 @@ _check_onl() echo "ERROR: $dumptape is not online" cat $tmp.status - echo "dumptape, $dumptape, is not online" >$seq.notrun - status=$NOTRUNSTS - exit + _notrun "dumptape, $dumptape, is not online" fi } @@ -229,10 +225,7 @@ _require_tape() dumptape=$1 if [ -z "$dumptape" -o "@" == "$dumptape" ]; then - echo "This test requires a dump tape - none was specified" - echo "No dump tape specified" >$seqres.notrun - status=$NOTRUNSTS - exit + _notrun "No dump tape specified" fi _check_onl