diff -r 56cd8111b7f7 -r 41300fa6a67c tests/auto/qsharedmemory/qsystemlock/tst_qsystemlock.cpp --- a/tests/auto/qsharedmemory/qsystemlock/tst_qsystemlock.cpp Tue Jan 26 12:42:25 2010 +0200 +++ b/tests/auto/qsharedmemory/qsystemlock/tst_qsystemlock.cpp Tue Feb 02 00:43:10 2010 +0200 @@ -202,9 +202,9 @@ QStringList scripts; for (int i = 0; i < readOnly; ++i) - scripts.append(QFileInfo(SRCDIR "lackey/scripts/ systemlock_read.js").absoluteFilePath() ); + scripts.append(QFileInfo(SRCDIR "/../lackey/scripts/systemlock_read.js").absoluteFilePath() ); for (int i = 0; i < readWrite; ++i) - scripts.append(QFileInfo(SRCDIR "lackey/scripts/systemlock_readwrite.js").absoluteFilePath()); + scripts.append(QFileInfo(SRCDIR "/../lackey/scripts/systemlock_readwrite.js").absoluteFilePath()); QList consumers; unsigned int failedProcesses = 0; @@ -213,8 +213,8 @@ QStringList arguments = QStringList() << scripts.at(i); QProcess *p = new QProcess; p->setProcessChannelMode(QProcess::ForwardedChannels); - - p->start(QFileInfo(SRCDIR "lackey/lackey").absoluteFilePath(), arguments); + + p->start("../lackey/lackey", arguments); // test, if the process could be started. if (p->waitForStarted(2000))