tests: Dump the tools that the tests are going to use.
[gnupg.git] / tests / openpgp / signdemokey
1 #!/bin/sh
2
3 set -e
4
5 if [ $# != 3 ]; then
6     echo "Usage: signdemokey name user_id user_id_no"
7     exit 1
8 fi
9 name="$1"
10 user_id="$2"
11 user_id_no="$3"
12
13 echo "abc" | ../g10/gpg --options ./gpg.conf --homedir $name \
14                 --sign-key --batch --yes --passphrase-fd 0 $user_id \
15                 $user_id_no sign save
16