summaryrefslogtreecommitdiff
path: root/website/bugs/genericize-filesystem-locations-for-testsuite.mdwn
diff options
context:
space:
mode:
authorJamie McClelland <jm@mayfirst.org>2008-09-16 10:01:58 -0400
committerJamie McClelland <jm@mayfirst.org>2008-09-16 10:01:58 -0400
commit52301633710bda1bd36fe405dedee386554894b2 (patch)
tree1cf478b7faeace8968527ba87a365d78edf29445 /website/bugs/genericize-filesystem-locations-for-testsuite.mdwn
parent5ae4c1f6706c0de758b2e77e34bab1c2b2162c7d (diff)
parent86d072e02c75f1c0e84d4f5c51c2e034fa84de21 (diff)
Merge commit 'dkg/master'
Diffstat (limited to 'website/bugs/genericize-filesystem-locations-for-testsuite.mdwn')
-rw-r--r--website/bugs/genericize-filesystem-locations-for-testsuite.mdwn28
1 files changed, 28 insertions, 0 deletions
diff --git a/website/bugs/genericize-filesystem-locations-for-testsuite.mdwn b/website/bugs/genericize-filesystem-locations-for-testsuite.mdwn
new file mode 100644
index 0000000..1d70313
--- /dev/null
+++ b/website/bugs/genericize-filesystem-locations-for-testsuite.mdwn
@@ -0,0 +1,28 @@
+[[meta title="genericize all filesystem locations to enable test suite:" ]]
+
+I'm in the process of writing a testsuite for the monkeysphere so that
+we can verify that it actually performs all the basic expected duties
+properly.
+
+It occurs to me that lines like these:
+
+ ETC="/etc/monkeysphere"
+ VARLIB="/var/lib/monkeysphere"
+
+Actually make it very difficult to generically test the tool without
+it being installed system-wide.
+
+Is there any reason that we should not allow these directories to be
+overridden with environment variables in the same way that
+`/usr/share/monkeysphere/share` is handled?
+
+ SHARE=${MONKEYSPHERE_SHARE:-"/usr/share/monkeysphere"}
+
+I guess i'm proposing something like:
+
+ SYSCONFIGDIR=${MONKEYSPHERE_SYSCONFIGDIR:-"/etc/monkeysphere"}
+ SYSDATADIR=${MONKEYSPHERE_SYSDATADIR:-"/var/lib/monkeysphere"}
+
+Thoughts?
+
+--dkg