Show More
@@ -1,35 +1,32 b'' | |||
|
1 | 1 | Test the GPG extension |
|
2 | 2 | |
|
3 | 3 | $ "$TESTDIR/hghave" gpg || exit 80 |
|
4 | $ if ! hg identify -q > /dev/null; then | |
|
5 | > echo "skipped: not a Mercurial working dir" >&2 | |
|
6 | > exit 80 | |
|
7 | > fi | |
|
8 | 4 | $ cat <<EOF >> $HGRCPATH |
|
9 | 5 | > [extensions] |
|
10 | 6 | > gpg= |
|
11 | 7 | > |
|
12 | 8 | > [gpg] |
|
13 | 9 | > cmd=gpg --no-permission-warning --no-secmem-warning --no-auto-check-trustdb --homedir $TESTDIR/gpg |
|
14 | 10 | > EOF |
|
15 | 11 |
$ hg |
|
16 | 12 |
$ |
|
17 | 13 |
$ |
|
18 | 14 |
$ |
|
19 | 15 |
|
|
20 | 16 | |
|
21 | 17 |
$ |
|
22 | 18 | |
|
23 | 19 |
$ |
|
24 | 20 |
|
|
25 | 21 | |
|
26 | 22 |
$ |
|
27 | 23 |
|
|
28 | 24 | |
|
29 | 25 |
$ |
|
30 | 26 |
|
|
31 | 27 |
|
|
32 | 28 | |
|
33 | 29 |
|
|
34 | 30 |
|
|
35 | $ hg --cwd $TESTDIR status gpg | |
|
31 | $ "$TESTDIR/md5sum.py" "$TESTDIR/gpg/trustdb.gpg" | |
|
32 | f6b9c78c65fa9536e7512bb2ceb338ae */gpg/trustdb.gpg (glob) |
General Comments 0
You need to be logged in to leave comments.
Login now