Core: Fix tests that did break because QProcess security fix

Amends 29fceed2ff

Pick-to: 5.15 6.2 6.3
Change-Id: Ief3317a89f7be1dd1dc249297bd16e958b9e1ef2
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Pasi Petäjäjärvi 2022-02-18 14:36:38 +02:00
parent 3a151faec2
commit 30d55abbac
2 changed files with 2 additions and 2 deletions

View File

@ -124,7 +124,7 @@ private:
tst_QSharedMemory::tst_QSharedMemory()
: existingSharedMemory(0)
, m_helperBinary("producerconsumer_helper")
, m_helperBinary("./producerconsumer_helper")
{
}

View File

@ -301,7 +301,7 @@ void tst_QThreadStorage::crashOnExit()
QSKIP("No qprocess support", SkipAll);
#else
QString errorMessage;
QVERIFY2(runCrashOnExit("crashOnExit_helper", &errorMessage),
QVERIFY2(runCrashOnExit("./crashOnExit_helper", &errorMessage),
qPrintable(errorMessage));
#endif
}