diff options
author | Slávek Banko <[email protected]> | 2017-02-01 01:57:20 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2017-02-01 01:57:58 +0100 |
commit | 7502543922ab40b45c5bd47034995f15bc76c757 (patch) | |
tree | d49400a69669dcbaf25af04607c6316bb13a8464 /dcop/tests/run-tests.sh | |
parent | b9d5e48086a0597e946bbae4c7dd6bfb5b8e60ea (diff) | |
download | tdelibs-7502543922ab40b45c5bd47034995f15bc76c757.tar.gz tdelibs-7502543922ab40b45c5bd47034995f15bc76c757.zip |
testing: Run tests that use DCOP in a temporary home
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit df203a23f4d96fae5fbc61bb180c4db8f63e63ae)
Diffstat (limited to 'dcop/tests/run-tests.sh')
-rw-r--r-- | dcop/tests/run-tests.sh | 5 |
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=$! |