From df203a23f4d96fae5fbc61bb180c4db8f63e63ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 1 Feb 2017 01:57:20 +0100 Subject: testing: Run tests that use DCOP in a temporary home MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- dcop/tests/run-tests.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dcop') 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=$! -- cgit v1.2.1