qt5base-lts/tests/auto/corelib
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
..
animation Try to stabilize flaky test cases of tst_qsequentialanimationgroup 2020-03-12 09:40:43 +01:00
codecs Port from QStringViewLiteral to u"" 2019-07-29 11:17:28 +03:00
global Make tst_QRandomGenerator::qualityReal() test more stable 2020-03-25 22:19:24 +01:00
io tst_QFileInfo: fix running with systems without /etc/passwd 2020-04-09 10:55:25 -03:00
itemmodels QIdentityProxyModel: implement moveRows / moveColumns 2020-01-02 17:48:07 +01:00
kernel QSequentialIterable: Treat sets as appendable 2020-03-18 09:54:19 +01:00
mimetypes Core: Use Qt::SplitBehavior in preference to QString::SplitBehavior 2020-02-28 15:37:11 +01:00
plugin Merge remote-tracking branch 'origin/5.14' into 5.15 2020-03-11 11:27:49 +01:00
serialization QCborArray: fix operator[] that extends the array 2020-04-09 09:41:56 -03:00
statemachine std::chrono overload added to QStateMachine::postDelayedEvent() 2020-02-10 15:04:39 +01:00
text Fix deprecation warning in tst_QLocale()'s use of QProcess::start() 2020-04-03 15:13:23 +02:00
thread Add a constructor for QRunnable from anonymous functions 2020-01-31 19:20:43 +01:00
time Deprecate locale-related DateFormat enum members 2020-01-31 19:20:43 +01:00
tools tst_QScopeGuard: Fix build by giving template parameters explicitly 2020-04-06 09:27:01 +02:00
corelib.pro Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00