summaryrefslogtreecommitdiffstats
path: root/dcop/tests
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2017-02-01 01:57:20 +0100
committerSlávek Banko <slavek.banko@axis.cz>2017-02-01 01:57:30 +0100
commitdf203a23f4d96fae5fbc61bb180c4db8f63e63ae (patch)
tree798af92473cec0f7366e5835cac77f99e28dbb59 /dcop/tests
parent7cc97cb18734939136579c086bf6758f3a4c18ad (diff)
downloadtdelibs-df203a23f4d96fae5fbc61bb180c4db8f63e63ae.tar.gz
tdelibs-df203a23f4d96fae5fbc61bb180c4db8f63e63ae.zip
testing: Run tests that use DCOP in a temporary home
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'dcop/tests')
-rw-r--r--dcop/tests/run-tests.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/dcop/tests/run-tests.sh b/dcop/tests/run-tests.sh
index 7ec749217..dc3640511 100644
--- a/dcop/tests/run-tests.sh
+++ b/dcop/tests/run-tests.sh
@@ -2,10 +2,15 @@
clean_up() {
rm -f batch.stdout shell.stdout shell.returns batch.returns
+ rm -fr test-home
}
clean_up
+# create temporary home
+export HOME=$PWD/test-home
+mkdir $HOME
+
../dcopserver --nofork &
DCOP_SERVER_PID=$!