Fix one more place in integration test

where executable was run from source dir.
This commit is contained in:
Alexey Sokolov
2016-01-10 09:24:12 +00:00
parent 89484acf17
commit 04ad80b86e
+4 -4
View File
@@ -259,10 +259,10 @@ class ZNCTest : public testing::Test {
}
std::unique_ptr<Process> Run() {
return std::unique_ptr<Process>(
new Process("./znc", QStringList() << "--debug"
<< "--datadir" << m_dir.path(),
[](QProcess* proc) {
return std::unique_ptr<Process>(new Process(
ZNC_BIN_DIR "/znc", QStringList() << "--debug"
<< "--datadir" << m_dir.path(),
[](QProcess* proc) {
proc->setProcessChannelMode(QProcess::ForwardedChannels);
}));
}