Show More
@@ -7,8 +7,11 b' Test the GPG extension' | |||||
7 | > gpg= |
|
7 | > gpg= | |
8 | > |
|
8 | > | |
9 | > [gpg] |
|
9 | > [gpg] | |
10 |
> cmd=gpg --no-permission-warning --no-secmem-warning --no-auto-check-trustdb |
|
10 | > cmd=gpg --no-permission-warning --no-secmem-warning --no-auto-check-trustdb | |
11 | > EOF |
|
11 | > EOF | |
|
12 | $ GNUPGHOME="$TESTTMP/gpg"; export GNUPGHOME | |||
|
13 | $ cp -R "$TESTDIR/gpg" "$GNUPGHOME" | |||
|
14 | ||||
12 | $ hg init r |
|
15 | $ hg init r | |
13 | $ cd r |
|
16 | $ cd r | |
14 | $ echo foo > foo |
|
17 | $ echo foo > foo | |
@@ -36,12 +39,4 b' Test the GPG extension' | |||||
36 | e63c23eaa88a is signed by: |
|
39 | e63c23eaa88a is signed by: | |
37 | hgtest |
|
40 | hgtest | |
38 |
|
41 | |||
39 | verify that this test has not modified the trustdb.gpg file back in |
|
|||
40 | the main hg working dir |
|
|||
41 | $ md5sum.py "$TESTDIR/gpg/trustdb.gpg" |
|
|||
42 | f6b9c78c65fa9536e7512bb2ceb338ae */gpg/trustdb.gpg (glob) |
|
|||
43 |
|
||||
44 | don't leak any state to next test run |
|
|||
45 | $ rm -f "$TESTDIR/gpg/random_seed" |
|
|||
46 |
|
||||
47 | $ cd .. |
|
42 | $ cd .. |
General Comments 0
You need to be logged in to leave comments.
Login now