qt5base-lts/tests/auto
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
..
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 Merge remote-tracking branch 'origin/5.9' into dev 2017-08-02 22:52:32 +02:00
corelib Autotest: fix blacklisted test about position on non-regular files 2017-08-08 21:48:28 +00:00
dbus Use QSharedPointer::create() more 2017-07-19 13:40:42 +00:00
gui Merge remote-tracking branch 'origin/5.9' into dev 2017-08-08 11:48:10 +02:00
guiapplauncher
installed_cmake
network Merge remote-tracking branch 'origin/5.9' into dev 2017-08-08 11:48:10 +02:00
opengl tst_QGL::graphicsViewClipping: Wait for viewport's window handle 2017-07-17 14:11:06 +00:00
other Merge remote-tracking branch 'origin/5.9' into dev 2017-08-08 11:48:10 +02:00
printsupport tst_QPrinter: Run in temporary directory 2017-07-03 06:49:10 +00:00
shared Remove workaround for potentially unavailable pasteboard in macOS 2017-03-07 01:04:46 +00:00
sql Add a test that we can read SQL time-stamps 2017-08-04 11:19:39 +00:00
testlib Merge remote-tracking branch 'origin/5.9' into dev 2017-08-08 11:48:10 +02:00
tools Merge remote-tracking branch 'origin/5.9' into dev 2017-07-19 09:47:29 +02:00
widgets Merge remote-tracking branch 'origin/5.9' into dev 2017-08-08 11:48:10 +02:00
xml Merge remote-tracking branch 'origin/5.7' into 5.8 2016-11-01 06:02:55 +01:00
auto.pro Remove remains of wince in .pro files 2017-07-03 05:32:51 +00:00
network-settings.h Merge remote-tracking branch 'origin/5.6' into 5.7 2016-05-06 15:36:44 +02:00