mirror of
https://github.com/znc/znc.git
synced 2026-08-10 02:43:05 +02:00
Fix one more place in integration test
where executable was run from source dir.
This commit is contained in:
@@ -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);
|
||||
}));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user