Fix utility test: Pass a command name to do the version check.

This commit is contained in:
Klaas Freitag 2016-05-10 16:26:42 +02:00
parent 9c0cd2b13e
commit 9e7a8e619b

View file

@ -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());