diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2017-02-01 01:57:20 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2017-02-01 01:57:30 +0100 |
commit | df203a23f4d96fae5fbc61bb180c4db8f63e63ae (patch) | |
tree | 798af92473cec0f7366e5835cac77f99e28dbb59 /dcop/tests | |
parent | 7cc97cb18734939136579c086bf6758f3a4c18ad (diff) | |
download | tdelibs-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.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=$! |