1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-01 22:28:02 +02:00

tests/openpgp: Fix file removal.

* tests/openpgp/version.test: Fix file removal.

Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
Justus Winter 2016-01-22 12:06:06 +01:00
parent 5ba4f6047b
commit 629284120f

View File

@ -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