qt5base-lts/tests/auto/network/access/qnetworkreply
Sami Nurmenniemi a1e94bcfbb Fix tests that assume system files are owned by root for qemu
If QEMU is provided sysroot with QEMU_LD_PREFIX, it opens files from there. If their
owner is the current user, testing their access rights based on assumption that they
are root fails. Skip the tests in that case similarly as is already done when the
tests are run as root.

This fixes following tests:
- tst_QTemporaryDir::nonWritableCurrentDir
- tst_QNetworkReply::getErrors(file-permissions)
- tst_qstandardpaths::testCustomRuntimeDirectory

Task-number: QTBUG-59966
Change-Id: I972ce37b4b5a7747cdd732a8e4a737ef09cbc6a5
Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2017-04-26 09:12:12 +00:00
..
certs
echo Updated license headers 2016-01-21 18:55:18 +00:00
test Fix tests that assume system files are owned by root for qemu 2017-04-26 09:12:12 +00:00
.gitattributes
.gitignore
bigfile
BLACKLIST tst_QNetworkReply: Un-blacklist recently fixed test. 2016-05-25 11:12:00 +00:00
element.xml qnetworkreplyfileimpl: set attributes if file was sent 2015-05-04 11:20:40 +00:00
empty
image1.jpg
image2.jpg
image3.jpg
index.html
qnetworkreply.pro QtNetwork: Remove Windows CE. 2016-03-29 20:28:18 +00:00
qnetworkreply.qrc
resource
rfc3252.txt
smb-file.txt
tst_qnetworkreply.cpp Fix tests that assume system files are owned by root for qemu 2017-04-26 09:12:12 +00:00