##// END OF EJS Templates
test-gpg: make temporary copy of GNUPGHOME...
Yuya Nishihara -
r29789:66e038fb default
parent child Browse files
Show More
@@ -7,8 +7,11 b' Test the GPG extension'
7 7 > gpg=
8 8 >
9 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 11 > EOF
12 $ GNUPGHOME="$TESTTMP/gpg"; export GNUPGHOME
13 $ cp -R "$TESTDIR/gpg" "$GNUPGHOME"
14
12 15 $ hg init r
13 16 $ cd r
14 17 $ echo foo > foo
@@ -36,12 +39,4 b' Test the GPG extension'
36 39 e63c23eaa88a is signed by:
37 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 42 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now