[PATCH 2/2] Add test for correct $SCRATCH_MNT into _require_scratch
Jan Kara
jack at suse.cz
Tue Jun 15 03:54:12 CDT 2010
---
common.rc | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/common.rc b/common.rc
index 6bf1e12..72997f9 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
--
1.6.4.2
--yEPQxsgoJgBvi8ip--
More information about the xfs
mailing list