##// END OF EJS Templates
test-gpg: run migration of v1 secret keys beforehand...
Yuya Nishihara -
r29791:28591876 default
parent child Browse files
Show More
@@ -12,11 +12,13 b' Test the GPG extension'
12 $ GNUPGHOME="$TESTTMP/gpg"; export GNUPGHOME
12 $ GNUPGHOME="$TESTTMP/gpg"; export GNUPGHOME
13 $ cp -R "$TESTDIR/gpg" "$GNUPGHOME"
13 $ cp -R "$TESTDIR/gpg" "$GNUPGHOME"
14
14
15 Start gpg-agent, which is required by GnuPG v2
15 Start gpg-agent, which is required by GnuPG v2, and migrate secret keys
16
16
17 #if gpg2
17 #if gpg2
18 $ gpg-connect-agent -q --subst /serverpid '/echo ${get serverpid}' /bye \
18 $ gpg-connect-agent -q --subst /serverpid '/echo ${get serverpid}' /bye \
19 > >> $DAEMON_PIDS
19 > >> $DAEMON_PIDS
20 $ gpg --no-permission-warning --no-secmem-warning --list-secret-keys \
21 > > /dev/null 2>&1
20 #endif
22 #endif
21
23
22 $ hg init r
24 $ hg init r
General Comments 0
You need to be logged in to leave comments. Login now