3 PWMC_ARGS
="--url $WDIR/socket --no-status"
9 cp -f `pwd`/.gnupg
/trustdb.gpg.orig
`pwd`/.gnupg
/trustdb.gpg
10 cp -f `pwd`/.gnupg
/pubring.kbx.orig
`pwd`/.gnupg
/pubring.kbx
19 if [ -S "$WDIR/.gnupg/S.gpg-agent" ]; then
20 agent_pid
="`echo GETINFO pid | gpg-connect-agent -S $WDIR/.gnupg/S.gpg-agent | awk '{print $2}' | sed -ne '1p'`"
21 if [ $agent_pid ]; then
22 kill $agent_pid 2>/dev
/null
34 until [ -e $socket ]; do
35 echo "waiting for socket '$socket' ..."
36 if [ $pid != 0 ]; then
37 kill -0 $PID ||
break;
47 $PWMD --homedir $WDIR -n $@
> /dev
/null
&
49 wait_for_socket
$PID socket
53 echo "All tests in $0 succeeded."
58 echo "Starting test $0 ..."