[Bug 32777] New: winmm:mci fails if the current directory is read-only

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jan 21 11:43:48 CST 2013


http://bugs.winehq.org/show_bug.cgi?id=32777

             Bug #: 32777
           Summary: winmm:mci fails if the current directory is read-only
           Product: Wine
           Version: 1.5.19
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: winmm&mci
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: fgouget at codeweavers.com
    Classification: Unclassified


The winmm:mci conformance test fails if the current directory is read-only.
This typically happens if you run it from a read-only network share for
instance.

z:\wine\dlls\winmm\tests> winmm_crosstest.exe mci
mci.c:394: [MCI] with 5 drivers
mci.c:765: Test failed: mci save returned MCIERR_FILE_NOT_SAVED
mci.c:768: Test failed: mci save returned MCIERR_FILE_NOT_SAVED
mci.c:773: Test failed: Save must not rename the original file; DeleteFile
returned 5
mci.c:804: Tests skipped: Cannot open waveaudio!tempfile.wav for playing
(MCIERR_FILE_NOT_FOUND), skipping
mci.c:942: Tests skipped: Cannot open tempfile.wav for playing
(MCIERR_FILE_NOT_FOUND), skipping
mci.c:1171: Tests skipped: Cannot open tempfile.wav for auto-play, skipping
mci: 194 tests executed (0 marked as todo, 3 failures), 3 skipped.

It should chdir() to a safe location, such as the temporary directory, before
doing the tests that try to write to the current directory.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list