qt5base-lts/tests/auto
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
..
android
bic/data Binary compatibility files for QtBase (5.8.0) 2017-02-14 12:42:20 +00:00
cmake tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
compilerwarnings/data
concurrent Adapt to the C++ SIC introduced by P0012: noexcept overloading 2017-02-17 13:57:30 +00:00
corelib Fix tests that assume system files are owned by root for qemu 2017-04-26 09:12:12 +00:00
dbus tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
gui Fix tst_QWindow modal dialog tests for offscreen and minimal platforms 2017-04-26 09:11:53 +00:00
guiapplauncher
installed_cmake
network Fix tests that assume system files are owned by root for qemu 2017-04-26 09:12:12 +00:00
opengl Switch to RGB(A|X)8888[_Premultiplied] for QOpenGLFBO readbacks on GLES 2017-03-28 11:17:52 +00:00
other Blacklist tst_MacGui autotest in macOS 10.11 2017-04-24 22:09:12 +00:00
printsupport Drop unnecessary dependencies from some tests 2017-01-10 16:34:52 +00:00
shared Make self-contained test of condensed font matching and width 2016-10-16 00:11:13 +00:00
sql Deprecate QString::null 2017-03-12 17:41:16 +00:00
testlib Fix tst_Selftest on QEMU 2017-03-31 07:09:46 +00:00
tools Preserve last modification timestamps of installed files 2017-04-12 15:50:51 +00:00
widgets Fix tst_QWidget for platform "offscreen" 2017-04-26 09:11:41 +00:00
xml Merge remote-tracking branch 'origin/5.7' into 5.8 2016-11-01 06:02:55 +01:00
auto.pro Build examples and tests only if their requirements are met 2017-03-22 15:55:55 +00:00
network-settings.h