Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.0.3, 2.1
    • Fix Version/s: None
    • Component/s: Backup, Unit tests
    • Labels:
    • Testing Instructions:
      Hide

      Run the /backup unit tests in server not having read/write access to /tmp (not-existing or not-allowed). After the patch, tests will run without any error related to the /tmp dir.

      Show
      Run the /backup unit tests in server not having read/write access to /tmp (not-existing or not-allowed). After the patch, tests will run without any error related to the /tmp dir.
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE
    • Rank:
      17742

      Description

      Discovered by MDLQA-1148 it seems there are some unit tests trying to do stuff in that directory and, obvously, failing under some OSs / sites.

      So the idea is to move all those tests to use CFG->dataroot/temp instead (exists on all Moodle sites).

      Ciao

        Issue Links

          Activity

          Hide
          Petr Škoda added a comment -

          I fixed that in master during migration to phpunit, thanks

          Show
          Petr Škoda added a comment - I fixed that in master during migration to phpunit, thanks

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: