qt5base-lts/tests/auto/corelib/io
Thiago Macieira 7cd2d2b751 tst_QFileInfo: fix running with systems without /etc/passwd
Clear Linux containers running as root may have no /etc/passwd. But
they'll have /etc/machine-id because systemd creates that. Also test
/proc/version (a Linux-specific file) because that isn't writeable even
by root.

Take the opportunity to check with access() instead of assuming root and
only root can write to the file.

Change-Id: Ibdc95e9af7bd456a94ecfffd1603e8359604752b
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2020-04-09 10:55:25 -03:00
..
largefile Remove usages of deprecated APIs from QtAlgorithms 2019-06-29 21:58:36 +02:00
qabstractfileengine Filesystem: Use "birth time" to avoid confusion with Unix ctime 2017-08-05 16:41:38 +00:00
qbuffer
qdataurl
qdebug Port from QStringViewLiteral to u"" 2019-07-29 11:17:28 +03:00
qdir Core: Use Qt::SplitBehavior in preference to QString::SplitBehavior 2020-02-28 15:37:11 +01:00
qdiriterator Avoid initializing QFlags with 0 or nullptr in tests 2019-11-26 09:08:51 +01:00
qfile On Windows 7, fall back to SHFileOperation to avoid confirmation dialogs 2020-02-07 12:21:13 +01:00
qfileinfo tst_QFileInfo: fix running with systems without /etc/passwd 2020-04-09 10:55:25 -03:00
qfileselector Do not strip off the fragment and query in the qfileselector 2019-06-03 12:29:49 +00:00
qfilesystementry
qfilesystemmetadata Filesystem: Use "birth time" to avoid confusion with Unix ctime 2017-08-05 16:41:38 +00:00
qfilesystemwatcher QFileSystemWatcher/win: watch also for attribute changes of directories 2020-01-10 06:24:14 +01:00
qiodevice Remove QSKIP and bring the test back to business 2018-10-25 11:51:42 +00:00
qipaddress QIpAddress: reject IPv6 addresses with more than 4 hex digits 2018-03-16 00:01:53 +00:00
qlockfile Avoid initializing QFlags with 0 or nullptr in tests 2019-11-26 09:08:51 +01:00
qloggingcategory Prefix QTextStream operators with Qt:: in tests 2019-05-03 09:36:36 +00:00
qloggingregistry QLoggingRegistry: use QStringView/QLatin1String more 2020-03-05 13:03:13 +02:00
qnodebug Fix encoding inconsistency between tst_QNoDebug and QTestLog 2020-01-09 10:57:49 +01:00
qprocess forkfd: fix forkfd_wait when FFD_USE_FORK was active 2020-03-25 20:19:36 +01:00
qprocess-noapplication
qprocessenvironment
qresourceengine QResource: Add API to get the decompressed content 2020-01-15 12:36:59 -08:00
qsavefile tst_QSaveFile: skip test that fails when run as root 2020-04-08 19:55:41 -03:00
qsettings tst_QSettings: Fix leaking registry key 2020-02-25 20:16:20 +01:00
qstandardpaths Core: Use Qt::SplitBehavior in preference to QString::SplitBehavior 2020-02-28 15:37:11 +01:00
qstorageinfo Ignore failing test for free space on APFS 2019-04-30 10:58:13 +00:00
qtemporarydir Merge remote-tracking branch 'origin/5.9' into 5.11 2018-02-14 12:51:24 +01:00
qtemporaryfile QTemporaryFile/Linux: don't cut the root dir's slash 2020-04-08 19:55:00 -03:00
qurl Fix mis-handling of actual TLD in qIsEffectiveTLD() 2019-09-16 17:05:09 +02:00
qurlinternal Deprecate constructing QFlags from a pointer 2019-11-20 19:43:38 +01:00
qurlquery QUrlQuery: Implement initializer list constructor 2018-12-09 11:35:27 +00:00
io.pro Modernize the "settings" feature 2018-11-15 17:20:15 +00:00