diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2011-02-17 17:01:14 +0100 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2011-04-13 14:56:25 +0200 |
commit | 7647521500b0d1c1e382fff0d1a0f497f1fac70c (patch) | |
tree | dd44a4a42a2c771e0d11e607079293f62819d7d2 /src/dbus | |
parent | f60b8f84332fcf5cb8be94ba8143595285baf134 (diff) |
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 'src/dbus')
0 files changed, 0 insertions, 0 deletions