From 629284120ff359b98a178b6cddf0e005e5f4db1a Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Fri, 22 Jan 2016 12:06:06 +0100 Subject: [PATCH] tests/openpgp: Fix file removal. * tests/openpgp/version.test: Fix file removal. Signed-off-by: Justus Winter --- 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 cb3ffa87f..7b9fa4b0b 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