From 034110b37da3da694b0056a23c5a280f7715e804 Mon Sep 17 00:00:00 2001 From: Jan Kara Date: Wed, 21 Jul 2010 18:50:52 +0200 Subject: [PATCH] Add test for correct $SCRATCH_MNT into _require_scratch Signed-off-by: Jan Kara Signed-off-by: Christoph Hellwig --- common.rc | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.47.3