qt5base-lts/tests/auto/corelib/io
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
..
largefile Merge remote-tracking branch 'origin/5.8' into 5.9 2017-04-06 14:16:31 +02:00
qabstractfileengine Merge remote-tracking branch 'origin/5.6' into dev 2016-01-26 16:27:28 +01:00
qbuffer Updated license headers 2016-01-21 18:55:18 +00:00
qdatastream QDataStream: add operator<< and >> for std::nullptr_t 2017-04-07 17:41:06 +00:00
qdataurl Updated license headers 2016-01-21 18:55:18 +00:00
qdebug Merge remote-tracking branch 'origin/5.6' into 5.7 2016-06-10 23:27:10 +02:00
qdir Fix QDir::mkpath() when the path contains "symlink/../" 2017-04-07 20:26:02 +00:00
qdiriterator Merge remote-tracking branch 'origin/5.7' into dev 2016-06-13 12:46:46 +02:00
qfile Fix tst_QFile for qemu 2017-04-06 12:19:55 +00:00
qfileinfo Use QT_CONFIG(library) instead of QT_NO_LIBRARY 2017-03-06 11:27:20 +00:00
qfileselector Merge remote-tracking branch 'origin/5.8' into 5.9 2017-04-18 10:46:22 +02:00
qfilesystementry Updated license headers 2016-01-21 18:55:18 +00:00
qfilesystemmetadata tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
qfilesystemwatcher Merge remote-tracking branch 'origin/5.7' into 5.8 2016-11-01 06:02:55 +01:00
qiodevice Revert blacklisting of two tests now the fix is in 2016-05-30 17:39:37 +00:00
qipaddress Merge remote-tracking branch 'origin/5.6' into 5.7 2016-04-13 06:55:37 +02:00
qlockfile Merge remote-tracking branch 'origin/5.8' into 5.9 2017-03-21 19:07:53 +01:00
qloggingcategory Updated license headers 2016-01-21 18:55:18 +00:00
qloggingregistry QLoggingRegistry: remove rules vector 2017-04-21 07:16:33 +00:00
qnodebug Updated license headers 2016-01-21 18:55:18 +00:00
qprocess Merge remote-tracking branch 'origin/5.8' into 5.9 2017-03-13 15:55:44 +01:00
qprocess-noapplication macOS: Don't build auto-tests as application bundles unless explicitly requested 2016-10-23 10:39:56 +00:00
qprocessenvironment QtCore: Remove Windows CE. 2016-03-30 11:22:47 +00:00
qresourceengine Fix missing last modification time stamp in qrc content 2016-11-22 04:57:02 +00:00
qsavefile Updated license headers 2016-01-21 18:55:18 +00:00
qsettings Merge remote-tracking branch 'origin/5.8' into 5.9 2017-02-08 15:49:18 +01:00
qstandardpaths Fix tests that assume system files are owned by root for qemu 2017-04-26 09:12:12 +00:00
qstorageinfo Merge remote-tracking branch 'origin/5.7' into dev 2016-05-23 21:09:46 +02:00
qtemporarydir Fix tests that assume system files are owned by root for qemu 2017-04-26 09:12:12 +00:00
qtemporaryfile Merge remote-tracking branch 'origin/5.7' into dev 2016-08-01 18:20:00 +02:00
qtextstream Properly use the "process" feature 2017-02-27 15:44:46 +00:00
qurl tst_qurl: skip test with ':' in filename, on Windows 2017-03-21 13:15:53 +00:00
qurlinternal QUrl: fix IDN conversion when the ACE form is invalid 2017-04-25 00:51:43 +00:00
qurlquery Updated license headers 2016-01-21 18:55:18 +00:00
qwinoverlappedionotifier Updated license headers 2016-01-21 18:55:18 +00:00
io.pro Merge remote-tracking branch 'origin/5.8' into 5.9 2017-03-27 10:42:08 +02:00