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: Introduce setup/gnupg
[dgit.git]
/
tests
/
setup
/
gnupg
diff --git a/tests/setup/gnupg
b/tests/setup/gnupg
new file mode 100755
(executable)
index 0000000..
97cdb64
--- /dev/null
+++ b/
tests/setup/gnupg
@@ -0,0
+1,15
@@
+#!/bin/bash
+set -e
+. tests/lib
+
+mkdir -p $tmp/gnupg
+cp $troot/gnupg/* $tmp/gnupg
+chmod go-rw $tmp/gnupg/*
+
+export GNUPGHOME=$tmp/gnupg
+
+gpg --list-secret
+
+t-setup-done 'GNUPGHOME' 'gnupg'
+
+echo ok.