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

tst_QStorageInfo fails on macos

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.12
    • Fix Version/s: 5.12.4, 5.13.1, 5.14.0 Alpha
    • Component/s: Core: I/O
    • Labels:
      None
    • Environment:
      macos 10.13, apfs
    • Platform/s:
      macOS
    • Commits:
      78d0b6e9756c732bf0a7b02d258313a1d2ab461e (qt/qtbase/5.12)

      Description

      ********* Start testing of tst_QStorageInfo *********
      Config: Using QtTest library 5.12.0, Qt 5.12.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by Clang 9.1.0 (clang-902.0.39.2) (Apple))
      PASS   : tst_QStorageInfo::initTestCase()
      PASS   : tst_QStorageInfo::defaultValues()
      QINFO  : tst_QStorageInfo::dump() Filesystem (Type)            Size  Available BSize  Label            Mounted on
      QINFO  : tst_QStorageInfo::dump() /dev/disk1s1 (apfs) RW  976900220  264314844  4096  RoadWarrior               /
      PASS   : tst_QStorageInfo::dump()
      PASS   : tst_QStorageInfo::operatorEqual()
      PASS   : tst_QStorageInfo::operatorNotEqual()
      PASS   : tst_QStorageInfo::root()
      PASS   : tst_QStorageInfo::currentStorage()
      PASS   : tst_QStorageInfo::storageList()
      FAIL!  : tst_QStorageInfo::tempFile() 'free != storage2.bytesFree()' returned FALSE. ()
         Loc: [/Users/erik/dev/qt5-dev/qtbase/tests/auto/corelib/io/qstorageinfo/tst_qstorageinfo.cpp(198)]
      FAIL!  : tst_QStorageInfo::caching() 'free != storage2.bytesFree()' returned FALSE. ()
         Loc: [/Users/erik/dev/qt5-dev/qtbase/tests/auto/corelib/io/qstorageinfo/tst_qstorageinfo.cpp(224)]
      PASS   : tst_QStorageInfo::cleanupTestCase()
      Totals: 9 passed, 2 failed, 0 skipped, 0 blacklisted, 18ms
      ********* Finished testing of tst_QStorageInfo *********
      

      My best guesstimate is due to APFS.

        Attachments

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

          Activity

            People

            • Assignee:
              vhilshei Volker Hilsheimer
              Reporter:
              erikv Erik Verbruggen
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes