summaryrefslogtreecommitdiffstats
path: root/dcop
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:58 +0100
commit7502543922ab40b45c5bd47034995f15bc76c757 (patch)
treed49400a69669dcbaf25af04607c6316bb13a8464 /dcop
parentb9d5e48086a0597e946bbae4c7dd6bfb5b8e60ea (diff)
downloadtdelibs-7502543922ab40b45c5bd47034995f15bc76c757.tar.gz
tdelibs-7502543922ab40b45c5bd47034995f15bc76c757.zip
testing: Run tests that use DCOP in a temporary home
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit df203a23f4d96fae5fbc61bb180c4db8f63e63ae)
Diffstat (limited to 'dcop')
-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=$!