[Pkg-gnupg-commit] [gnupg2] 55/205: tests/openpgp: Fix file removal.
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Wed May 11 08:38:15 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch experimental
in repository gnupg2.
commit 629284120ff359b98a178b6cddf0e005e5f4db1a
Author: Justus Winter <justus at g10code.com>
Date: Fri Jan 22 12:06:06 2016 +0100
tests/openpgp: Fix file removal.
* tests/openpgp/version.test: Fix file removal.
Signed-off-by: Justus Winter <justus at g10code.com>
---
tests/openpgp/version.test | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/openpgp/version.test b/tests/openpgp/version.test
index cb3ffa8..7b9fa4b 100755
--- a/tests/openpgp/version.test
+++ b/tests/openpgp/version.test
@@ -31,7 +31,7 @@ if [ -d private-keys-v1.d ]; then
rmdir private-keys-v1.d
fi
for i in pubring.gpg pubring.gpg~ trustdb.gpg trustdb.gpg~ ; do
- [ -d "$i" ] && rm "$i"
+ [ -f "$i" ] && rm "$i"
done
# Now start the agent right away, so that there is only one place
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git
More information about the Pkg-gnupg-commit
mailing list