aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-01-22 11:06:06 +0000
committerJustus Winter <[email protected]>2016-02-23 10:58:52 +0000
commit629284120ff359b98a178b6cddf0e005e5f4db1a (patch)
treede8e2c57c6565896aea4b3072bf7731d770bdda8
parentcommon/exechelp: Provide a way to wait for multiple processes. (diff)
downloadgnupg-629284120ff359b98a178b6cddf0e005e5f4db1a.tar.gz
gnupg-629284120ff359b98a178b6cddf0e005e5f4db1a.zip
tests/openpgp: Fix file removal.
* tests/openpgp/version.test: Fix file removal. Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to '')
-rwxr-xr-xtests/openpgp/version.test2
1 files changed, 1 insertions, 1 deletions
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