You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdelibs/kwallet/backend/tests/backendtest.sh

19 lines
249 B

#!/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