Show More
@@ -1,28 +1,28 | |||||
1 | #!/bin/sh |
|
1 | #!/bin/sh | |
2 |
|
2 | |||
3 | "$TESTDIR/hghave" gpg || exit 80 |
|
3 | "$TESTDIR/hghave" gpg || exit 80 | |
4 |
|
4 | |||
5 | cat <<EOF >> $HGRCPATH |
|
5 | cat <<EOF >> $HGRCPATH | |
6 | [extensions] |
|
6 | [extensions] | |
7 | gpg= |
|
7 | gpg= | |
8 |
|
8 | |||
9 | [gpg] |
|
9 | [gpg] | |
10 | cmd=gpg --no-permission-warning --homedir $TESTDIR/gpg |
|
10 | cmd=gpg --no-permission-warning --no-secmem-warning --homedir $TESTDIR/gpg | |
11 | EOF |
|
11 | EOF | |
12 |
|
12 | |||
13 | hg init r |
|
13 | hg init r | |
14 | cd r |
|
14 | cd r | |
15 | echo foo > foo |
|
15 | echo foo > foo | |
16 | hg ci -Amfoo |
|
16 | hg ci -Amfoo | |
17 |
|
17 | |||
18 | echo '% no signatures' |
|
18 | echo '% no signatures' | |
19 | hg sigs |
|
19 | hg sigs | |
20 |
|
20 | |||
21 | echo '% hg sign 0' |
|
21 | echo '% hg sign 0' | |
22 | hg sign 0 |
|
22 | hg sign 0 | |
23 |
|
23 | |||
24 | echo '% hg sigs' |
|
24 | echo '% hg sigs' | |
25 | hg sigs |
|
25 | hg sigs | |
26 |
|
26 | |||
27 | echo '% hg sigcheck 0' |
|
27 | echo '% hg sigcheck 0' | |
28 | hg sigcheck 0 |
|
28 | hg sigcheck 0 |
General Comments 0
You need to be logged in to leave comments.
Login now