From: Jan Kara Date: Wed, 21 Jul 2010 16:50:52 +0000 (+0200) Subject: Add test for correct $SCRATCH_MNT into _require_scratch X-Git-Tag: v1.1.0~155 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=034110b37da3da694b0056a23c5a280f7715e804;p=xfstests-dev.git Add test for correct $SCRATCH_MNT into _require_scratch Signed-off-by: Jan Kara Signed-off-by: Christoph Hellwig --- diff --git a/common.rc b/common.rc index 6bf1e127..72997f9c 100644 --- a/common.rc +++ b/common.rc @@ -703,6 +703,10 @@ _require_scratch() then _notrun "this test requires a valid \$SCRATCH_DEV" fi + if [ ! -d "$SCRATCH_MNT" ] + then + _notrun "this test requires a valid \$SCRATCH_MNT" + fi ;; esac