Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.9.1
-
None
Description
The unit test file1 works with Qt 6.9.0 but with Qt 6.9.1 the last lines fails.
While creating this minimal example I noted, that test2 fails with both versions.
This Situation is the same on FreeBSD but I was not able to select it in "Platform/s".
void file1() { QTemporaryFile tmp; QVERIFY(!tmp.exists()); QVERIFY(tmp.open()); QVERIFY(tmp.exists()); tmp.close(); QVERIFY(tmp.exists()); QFile::remove(QFileInfo(tmp).absoluteFilePath()); QVERIFY(!tmp.exists()); } void file2() { QTemporaryFile tmp; QVERIFY(!tmp.exists()); QVERIFY(tmp.open()); QVERIFY(tmp.exists()); tmp.close(); QVERIFY(tmp.exists()); QVERIFY(tmp.remove()); QVERIFY(!tmp.exists()); }
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-137438 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
651578,2 | QFileSystemEngine/Unix: avoid removing WasDeletedFlag | dev | qt/qtbase | Status: NEW | +2 | 0 |