Skip to contentSkip to conversation

xfstests: add local.config example

PATCH In review Eric Sandeen 3 participants 3 messages Sep 16, 2010 – Oct 26, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfstests: add local.config example

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? :)

---

local.config.example new file +10 -0
new file mode 100644
index 0000000..6b2e0e9
@@ -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

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Eric Sandeen

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? :)

Lazy makes the world go round. ;)

A template is probably a good idea.

Btw, if you are going add a template, you might as well remove all the old configs that are there. I don't think any of them exist anymore, and they have no further use as templates.....

Cheers,

Dave.

Signature · 7 lines
Dave Chinner
[email protected]

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Reviewed-by on v1 1/1
#2 lore raw
In reply to Eric Sandeen
Quoted 10 lines · Eric Sandeen

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? :)

---

Looks good

Eric,

This patch has been committed to git://oss.sgi.com/xfs/cmds/xfstests, master branch, commit ID ac996c66.

Thanks
--Rich

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs