qt6-bb10/tests/auto/corelib/io
Thiago Macieira 5d2240718c Autotest: fix blacklisted test about position on non-regular files
On BSD systems (tested on macOS and FreeBSD), you *can* lseek(2) or
ftell(3) on a pipe and get its current position. But QFile will not get
the position when the file is sequential, so we need to return 0.

Technically speaking, we ought to do the same for block devices, but if
you're redirecting stdin, stdout or stderr in the unit test to or from a
block device, you deserve the extra work to add that yourself to the
test.

Change-Id: I3868166e5efc45538544fffd14d8a74e92963fe7
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
2017-08-08 21:48:28 +00:00
..
largefile Use QSharedPointer::create() more 2017-07-19 13:40:42 +00:00
qabstractfileengine Filesystem: Use "birth time" to avoid confusion with Unix ctime 2017-08-05 16:41:38 +00:00
qbuffer
qdatastream Use QSharedPointer::create() more 2017-07-19 13:40:42 +00:00
qdataurl
qdebug QDebug: add op<<(QStringView) 2017-03-24 20:43:03 +00:00
qdir Refactor tst_qdir::entryList() 2017-07-29 09:51:50 +00:00
qdiriterator
qfile Autotest: fix blacklisted test about position on non-regular files 2017-08-08 21:48:28 +00:00
qfileinfo QFileInfo: harmonize QFileInfo() and QFileInfo("") 2017-08-08 21:48:23 +00:00
qfileselector Merge remote-tracking branch 'origin/5.8' into 5.9 2017-04-18 10:46:22 +02:00
qfilesystementry
qfilesystemmetadata Filesystem: Use "birth time" to avoid confusion with Unix ctime 2017-08-05 16:41:38 +00:00
qfilesystemwatcher QFileSystemWatcher/Windows: Recreate handle for files 2017-07-07 07:02:45 +00:00
qiodevice Use QSharedPointer::create() more 2017-07-19 13:40:42 +00:00
qipaddress
qlockfile Merge remote-tracking branch 'origin/5.8' into 5.9 2017-03-21 19:07:53 +01:00
qloggingcategory
qloggingregistry QLoggingRegistry: remove rules vector 2017-04-21 07:16:33 +00:00
qnodebug QDate/Time: add toString(QStringView) overloads 2017-04-12 11:12:09 +00:00
qprocess Merge remote-tracking branch 'origin/5.9' into dev 2017-07-13 16:36:10 -07:00
qprocess-noapplication macOS: Don't build auto-tests as application bundles unless explicitly requested 2016-10-23 10:39:56 +00:00
qprocessenvironment
qresourceengine unbreak tst_qresourceengine for prefix builds 2017-08-03 04:54:56 +00:00
qsavefile Support Alternate Data Streams in QSaveFile 2017-08-04 17:30:13 +00:00
qsettings Allow QSettings to synchronize non-atomically 2017-08-04 17:30:16 +00:00
qstandardpaths Fix tests that assume system files are owned by root for qemu 2017-04-26 09:12:12 +00:00
qstorageinfo
qtemporarydir Long live QTemporaryFileName! 2017-08-04 17:30:03 +00:00
qtemporaryfile QTemporaryFile: fix the generation of names from templates 2017-06-12 06:14:43 +00:00
qtextstream winrt: Fix tst_qtextstream 2017-06-19 07:06:01 +00:00
qurl Merge remote-tracking branch 'origin/5.9' into dev 2017-07-04 16:05:53 +02:00
qurlinternal QUrl: fix IDN conversion when the ACE form is invalid 2017-04-25 00:51:43 +00:00
qurlquery
io.pro Remove QWinOverlappedIoNotifier 2017-06-02 20:01:43 +00:00