xfs
[Top] [All Lists]

[PATCH 2/3] Fix common.config to allow SCRATCH_DEV and SCRATCH_MNT to be

To: xfs@xxxxxxxxxxx
Subject: [PATCH 2/3] Fix common.config to allow SCRATCH_DEV and SCRATCH_MNT to be optional
From: "Theodore Ts'o" <tytso@xxxxxxx>
Date: Fri, 19 Jun 2009 13:53:32 -0400
Cc: tytso@xxxxxxx
In-reply-to: <1245434013-9433-1-git-send-email-tytso@xxxxxxx>
References: <1245434013-9433-1-git-send-email-tytso@xxxxxxx>
Commit 3ae9f2f8 purports to allow SCRATCH_DEV and SCRATCH_MNT to be
optional, but tests in common.config will cause check to exit with an
error if these environment variables are not defined.  Fix this problem.

Signed-off-by: "Theodore Ts'o" <tytso@xxxxxxx>
---
 common.config |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/common.config b/common.config
index 64df893..b304247 100644
--- a/common.config
+++ b/common.config
@@ -23,10 +23,10 @@
 #                   mounted XFS file system, needs to be be world
 #                   writeable
 # TEST_DEV -        device for file system containing TEST_DIR
-# SCRATCH_DEV -     device you can make a scratch file system on
-# SCRATCH_MNT -     mount point for scratch file system
 #
 # and optionally:
+# SCRATCH_DEV -     device you can make a scratch file system on
+# SCRATCH_MNT -     mount point for scratch file system
 # SCRATCH_LOGDEV -  scratch log device for external log testing
 # SCRATCH_RTDEV -   scratch rt dev
 # TEST_LOGDEV -     test log device for external log testing
@@ -202,8 +202,8 @@ known_hosts()
   [ -z "$TEST_DIR" ]       && MC="$MC TEST_DIR"
   [ -z "$TEST_DEV" ]       && MC="$MC TEST_DEV"
 
-  [ -z "$SCRATCH_MNT" ]    && MC="$MC SCRATCH_MNT"
-  [ -z "$SCRATCH_DEV" ]    && MC="$MC SCRATCH_DEV"
+#  [ -z "$SCRATCH_MNT" ]    && MC="$MC SCRATCH_MNT"
+#  [ -z "$SCRATCH_DEV" ]    && MC="$MC SCRATCH_DEV"
 
   [ "$MC" ] && (echo "Warning: need to define parameters for host $HOST";\
                echo "       or set variables:"; \
-- 
1.6.3.2.1.gb9f7d.dirty

<Prev in Thread] Current Thread [Next in Thread>