summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/doc_src_debug.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2011-02-17 16:01:14 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2011-04-13 12:56:25 (GMT)
commit7647521500b0d1c1e382fff0d1a0f497f1fac70c (patch)
treedd44a4a42a2c771e0d11e607079293f62819d7d2 /doc/src/snippets/code/doc_src_debug.cpp
parentf60b8f84332fcf5cb8be94ba8143595285baf134 (diff)
downloadQt-7647521500b0d1c1e382fff0d1a0f497f1fac70c.zip
Qt-7647521500b0d1c1e382fff0d1a0f497f1fac70c.tar.gz
Qt-7647521500b0d1c1e382fff0d1a0f497f1fac70c.tar.bz2
Autotest: really ensure that two fds are equal
Instead of checking that they are both valid or both invalid, test that they point to the same file on the filesystem. So we create a QTemporaryFile and pass its file descriptor to the remote side and back. If the two fds point to the same file on disk later (same st_dev and st_ino), they are equal. This probably works on non-Unix too, but I can't test and there's no point anyway. Task-number: QTBUG-17477
Diffstat (limited to 'doc/src/snippets/code/doc_src_debug.cpp')
0 files changed, 0 insertions, 0 deletions