Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit df203a23f4
)
pull/16/head
parent
b9d5e48086
commit
7502543922
@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# create temporary home
|
||||||
|
export HOME=$PWD/test-home
|
||||||
|
mkdir $HOME
|
||||||
|
|
||||||
|
# run dcop server
|
||||||
|
../../../dcop/dcopserver --nofork &
|
||||||
|
DCOP_SERVER_PID=$!
|
||||||
|
|
||||||
|
# perform test
|
||||||
|
./backendtest
|
||||||
|
STATE=$?
|
||||||
|
|
||||||
|
# cleanup
|
||||||
|
kill $DCOP_SERVER_PID
|
||||||
|
rm -fr test-home
|
||||||
|
exit $STATE
|
Loading…
Reference in new issue