chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test suite: gnupg: Fix sleep length in apt-get gpg --import case
[dgit.git]
/
tests
/
tstunt
/
gpg
diff --git
a/tests/tstunt/gpg
b/tests/tstunt/gpg
index d71aa63f359d601081ef215188ef69d5cc09f120..679a6b8e10826cba63b7bd57d5ee34d69fab877c 100755
(executable)
--- a/
tests/tstunt/gpg
+++ b/
tests/tstunt/gpg
@@
-1,6
+1,6
@@
#!/bin/sh
set -e
-exec \
-
$DGIT_TEST_REAL_GPG
\
-
--agent-program=$DGIT_STUNT_AGENT
\
- "$@"
+
+
exec
\
+
with-lock-ex -w "$DGIT_TEST_GNUPG_GLOBAL_LOCK"
\
+
$tmp "$DGIT_TEST_TROOT"/tstunt/gpg-locked
"$@"