[Pkg-owncloud-commits] [owncloud-client] 459/470: Fix utility test: Pass a command name to do the version check.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Thu May 12 16:25:43 UTC 2016
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 9e7a8e619bc9e8b17e8b8034970a5e8056f3c12f
Author: Klaas Freitag <freitag at owncloud.com>
Date: Tue May 10 16:26:42 2016 +0200
Fix utility test: Pass a command name to do the version check.
---
test/testutility.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/test/testutility.cpp b/test/testutility.cpp
index ba6b9fb..a2cfffa 100644
--- a/test/testutility.cpp
+++ b/test/testutility.cpp
@@ -121,7 +121,9 @@ private slots:
// Current requires an X-Server
return;
}
- QString ver = versionOfInstalledBinary(BIN_PATH);
+ // pass the binary name owncloud to the next call. This brakes branding,
+ // but branding is not supposed to work with this.
+ QString ver = versionOfInstalledBinary(BIN_PATH+QLatin1String("/owncloud"));
qDebug() << "Version of installed ownCloud Binary: " << ver;
QVERIFY( !ver.isEmpty());
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list