tst_QNetworkreply: fix a path to test-data
For some reason it fails on Ubuntu 22.04, but it's anyway not following the trend the rest of the file uses, so just assume it's the code at fault and fix it. Thanks to Liang Qi for debugging this! Pick-to: 6.4 Fixes: QTBUG-106016 Change-Id: I9d0563a081827eaa037d61643f0ea46301e11493 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
parent
411b17150e
commit
9e12ea37ea
@ -9725,7 +9725,7 @@ void tst_QNetworkReply::contentEncodingBigPayload_data()
|
||||
QTest::addRow("gzip-4GB") << QByteArray("gzip") << (":/4G.gz") << fourGiB;
|
||||
|
||||
#if QT_CONFIG(brotli)
|
||||
QTest::addRow("brotli-4GB") << QByteArray("br") << (testDataDir + "./4G.br") << fourGiB;
|
||||
QTest::addRow("brotli-4GB") << QByteArray("br") << (testDataDir + "/4G.br") << fourGiB;
|
||||
#endif
|
||||
#if defined(QT_BUILD_INTERNAL) && QT_CONFIG(zstd)
|
||||
QTest::addRow("zstd-4GB") << QByteArray("zstd") << (":/4G.zst") << fourGiB;
|
||||
|
Loading…
Reference in New Issue
Block a user