The 'file' regression test fails on NT
Uwe Bonnes
bon at elektron.ikp.physik.tu-darmstadt.de
Tue May 21 02:18:43 CDT 2002
>>>>> "Francois" == Francois Gouget <fgouget at free.fr> writes:
Francois> I tested the 'file' regression test on NT4 and XP and it fails
Francois> on both. Here is where the error occurs:
Francois> tests/file.c:236: Test failed: DeleteFile failed (5).
Francois> tests/file.c:240: Test failed: couldn't create file
Francois> "testfile.xxx" (err=5) tests/file.c:242: Test failed: _hwrite
Francois> complains. [...]
Francois> 5 means 'permission denied'. DeleteFile fails just after
Francois> _lcreat(filename,1) creates a read-only file:
Francois> H:\wine\wine\dlls\kernel>attrib testfile.xxx A R
Francois> H:\wine\wine\dlls\kernel\testfile.xxx
Francois> Because that file is marked read-only, DeleteFile fails to
Francois> delete it, then causing the failure of all the other tests. I
Francois> checked and the same happens on non-smb drives (c:\). I also
Francois> checked that the exact same thing happens on Windows 98.
Francois> So the test needs to be fixed. Jakob, can you do this?
I sent a patch "Check sharing in DeleteFile"(2)/"Test for DeleteFile"(1) on
May 9 which worked in that area. (2) should be applied after (1).
Bye
--
Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
More information about the wine-devel
mailing list