[Top] [All Lists]

[PATCH] xfstests: add local.config example

To: xfs-oss <xfs@xxxxxxxxxxx>
Subject: [PATCH] xfstests: add local.config example
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Thu, 16 Sep 2010 13:07:47 -0500
User-agent: Thunderbird (Macintosh/20100228)
I think it'd be useful to have a local.config template in the
git repo, to avoid having to re-read the README each time
to remember the required environment variable names.

Thoughts?  Am I just lazy?  :)

Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx>

diff --git a/local.config b/local.config.example
new file mode 100644
index 0000000..6b2e0e9
--- /dev/null
+++ b/local.config.example
@@ -0,0 +1,10 @@
+# Ideally define at least these 4 to match your environment
+# The first 2 are required.
+# See README for other variables which can be set.
+# Note: SCRATCH_DEV >will< get overwritten!
+export TEST_DEV=/dev/sdX1
+export TEST_DIR=/mnt/test
+export SCRATCH_DEV=/dev/sdX2
+export SCRATCH_MNT=/mnt/scratch

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