summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2014-03-26 09:43:07 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2014-03-27 09:20:50 +0000
commit5d2a3f459a954e2d77383ae2e325318e0183fe3a (patch)
tree3fbcf6a6d988de7ab18b34776648b6f746df682b
parent6aebd3e64cb6a285820700efa580182e01db9bb5 (diff)
run-test.sh: allow use of system-wide data
We mainly need this for the system-wide schemas when running installed.
-rw-r--r--tests/twisted/run-test.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/twisted/run-test.sh.in b/tests/twisted/run-test.sh.in
index 21cc96af..d93d7be5 100644
--- a/tests/twisted/run-test.sh.in
+++ b/tests/twisted/run-test.sh.in
@@ -104,7 +104,7 @@ for t in $list ; do
export XDG_CONFIG_HOME
XDG_DATA_HOME="${tmp}/localshare"
export XDG_DATA_HOME
- XDG_DATA_DIRS="${tmp}/share:${test_src}/twisted"
+ XDG_DATA_DIRS="${tmp}/share:${test_src}/twisted:${XDG_DATA_DIRS:-/usr/local/share:/usr/share}"
export XDG_DATA_DIRS
XDG_CACHE_HOME="${tmp}/cache"
export XDG_CACHE_HOME