summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2015-11-10 20:37:03 +0100
committerhjk <hjk@theqtcompany.com>2015-12-15 12:40:54 +0000
commit85eb7d9897c0186747cce585a9f9ef9cfe0b627a (patch)
treed4cf2ad7be8681b1a8652921e32f521b5cc81285
parentb8189ddd80ff922fe11dfc1eb8bdb6a33eee0dfe (diff)
Complete a test for QFilePrivate::fileName offset on Linux
This extends the test suite introduced in 497f0af1f7 for a known-to-be-good case also for 32 bit systems. Change-Id: Ia231bcb9b0102c28483d932be18767662b7a6afd Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
-rw-r--r--tests/auto/other/toolsupport/tst_toolsupport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/other/toolsupport/tst_toolsupport.cpp b/tests/auto/other/toolsupport/tst_toolsupport.cpp
index bbd787bf38..f3c99af8ba 100644
--- a/tests/auto/other/toolsupport/tst_toolsupport.cpp
+++ b/tests/auto/other/toolsupport/tst_toolsupport.cpp
@@ -114,7 +114,7 @@ void tst_toolsupport::offsets_data()
if (sizeof(void *) == 8) {
QTestData &data = QTest::newRow("QFilePrivate::fileName")
<< pmm_to_offsetof(&QFilePrivate::fileName);
- data << -1 << 248;
+ data << 168 << 248;
}
#endif