Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-83863

tstQFile_moveToTrash may try to wipe the device

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.15.1
    • 5.15.0 Beta4
    • Core: I/O
    • None
    • QNX
    • 9b4b406142b05eef8ef255561f24951f25567a8e (qt/qtbase/dev) a97010b542f096dfc97afe214d8003009d887350 (qt/qtbase/5.15)
    • Bug Fixing Candidates

    Description

      The tstQFile_moveToTrash test can attempt to wipe the entire device when the device is nearly full.  In this situation, the QTemporaryDir variables created by the data function may be invalid because the temporary directory can't be created.  This causes the data function to attach "/" to nothing for the "temporary dir" and/or "home dir" tests.  The tests proceed to wipe as much of the device as they can before they run out of time.  I was oh so glad that this was running on a device that didn't have anything important on it and was easily re-imaged.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vhilshei Volker Hilsheimer
            jmcdonnell James McDonnell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes