From 85eb7d9897c0186747cce585a9f9ef9cfe0b627a Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 10 Nov 2015 20:37:03 +0100 Subject: 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 --- tests/auto/other/toolsupport/tst_toolsupport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/auto/other/toolsupport') 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 -- cgit v1.2.3