[Pkg-gnupg-commit] [gpgme] 319/412: qt: Fix 2.1 t-support copy

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Sep 22 21:27:11 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch master
in repository gpgme.

commit 05570bd3d05fb3d7934c1122f0d5ef5fdbaa7974
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Thu Aug 25 17:16:25 2016 +0200

    qt: Fix 2.1 t-support copy
    
    * lang/qt/src/t-support.cpp (copyKeyring): Fix seckey copy.
---
 lang/qt/tests/t-support.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lang/qt/tests/t-support.cpp b/lang/qt/tests/t-support.cpp
index 27c0132..2b21ce7 100644
--- a/lang/qt/tests/t-support.cpp
+++ b/lang/qt/tests/t-support.cpp
@@ -63,7 +63,9 @@ bool QGpgMETest::copyKeyrings(const QString &src, const QString &dest)
         return false;
     }
     foreach (QString f, dir.entryList(QDir::Files)) {
-        if (!QFile::copy(src + QDir::separator() + f, dest + QDir::separator() + f)) {
+        if (!QFile::copy(dir.path() + QDir::separator() + f,
+                         dest + QDir::separator() +
+                         QStringLiteral("private-keys-v1.d") + QDir::separator() + f)) {
             return false;
         }
     }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git



More information about the Pkg-gnupg-commit mailing list