projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c0cd2b
)
Fix utility test: Pass a command name to do the version check.
author
Klaas Freitag
<freitag@owncloud.com>
Tue, 10 May 2016 14:26:42 +0000
(16:26 +0200)
committer
Klaas Freitag
<freitag@owncloud.com>
Tue, 10 May 2016 14:26:42 +0000
(16:26 +0200)
test/testutility.cpp
patch
|
blob
|
history
diff --git
a/test/testutility.cpp
b/test/testutility.cpp
index ba6b9fba2e6db48281b465c6e6edbef59b42f76f..a2cfffa97b884b72f495f5061d2d25403ece2394 100644
(file)
--- 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());