author | Steve Borho <steve@borho.org> |
Mon, 15 Feb 2010 21:18:16 -0600 | |
branch | stable |
changeset 10486 | 6b354a763617 |
parent 9041 | 6e5e548452de |
permissions | -rwxr-xr-x |
8809 | 1 |
#!/bin/sh |
2 |
||
3 |
"$TESTDIR/hghave" gpg || exit 80 |
|
4 |
||
5 |
cat <<EOF >> $HGRCPATH |
|
6 |
[extensions] |
|
7 |
gpg= |
|
8 |
||
9 |
[gpg] |
|
9041
6e5e548452de
test-gpg: suppress secure memory warning
David Champion <dgc@uchicago.edu>
parents:
8809
diff
changeset
|
10 |
cmd=gpg --no-permission-warning --no-secmem-warning --homedir $TESTDIR/gpg |
8809 | 11 |
EOF |
12 |
||
13 |
hg init r |
|
14 |
cd r |
|
15 |
echo foo > foo |
|
16 |
hg ci -Amfoo |
|
17 |
||
18 |
echo '% no signatures' |
|
19 |
hg sigs |
|
20 |
||
21 |
echo '% hg sign 0' |
|
22 |
hg sign 0 |
|
23 |
||
24 |
echo '% hg sigs' |
|
25 |
hg sigs |
|
26 |
||
27 |
echo '% hg sigcheck 0' |
|
28 |
hg sigcheck 0 |