Make sure tests run with a temporary XDG_RUNTIME_DIR
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 19 Feb 2013 16:39:38 +0000 (16:39 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 6 Jan 2014 15:34:46 +0000 (15:34 +0000)
commit2d950f6e9a412da70e9f8bc956980abc949a5fe8
tree1b6aec10064ff46df625970623642f140008d5ba
parent1794c245e2869c5f7d35f38c38b42f17c157541f
Make sure tests run with a temporary XDG_RUNTIME_DIR

We don't want the regression tests' "session" getting mixed up in
system-wide "sessions". This doesn't actually matter yet, but it is
likely to matter in future.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=61301
Reviewed-by: Chengwei Yang <chengwei.yang@intel.com>
[merged with earlier line-wrapping of TESTS_ENVIRONMENT -smcv]
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
test/Makefile.am
test/name-test/Makefile.am
test/name-test/run-test-systemserver.sh
test/name-test/run-test.sh