equal
deleted
inserted
replaced
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 --no-secmem-warning --no-auto-check-trustdb --homedir "$TESTDIR/gpg" |
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 |
15 $ hg ci -Amfoo |
18 $ hg ci -Amfoo |
16 adding foo |
19 adding foo |
34 |
37 |
35 $ hg sigcheck 0 |
38 $ hg sigcheck 0 |
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 .. |