| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 2/2] Add test for correct $SCRATCH_MNT into _require_scratch |
| From: | Jan Kara <jack@xxxxxxx> |
| Date: | Wed, 21 Jul 2010 18:50:52 +0200 |
| Cc: | hch@xxxxxxxxxxxxx, Jan Kara <jack@xxxxxxx> |
| In-reply-to: | <1279731052-30631-1-git-send-email-jack@xxxxxxx> |
| References: | <1279731052-30631-1-git-send-email-jack@xxxxxxx> |
---
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 0/2 xfstests] Two improvements for xfstests, Jan Kara |
|---|---|
| Next by Date: | [PATCH 1/2] Provide generic function for checking quota usage, Jan Kara |
| Previous by Thread: | [PATCH 0/2 xfstests] Two improvements for xfstests, Jan Kara |
| Next by Thread: | Re: [PATCH 2/2] Add test for correct $SCRATCH_MNT into _require_scratch, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |