--- a/kerneltest/f32test/filesystem/fat/t_mount.cpp Wed Sep 15 13:42:27 2010 +0300
+++ b/kerneltest/f32test/filesystem/fat/t_mount.cpp Wed Oct 13 16:04:24 2010 +0300
@@ -629,12 +629,12 @@
bDriveFinalised = DoCheckVolumeFinalised(gDriveNum);
test(!bDriveFinalised); //-- the volume has become "unfinalised"
- //-- 2.1 open a file, try to finalise; This should be OK
+ //-- 2.1 open a file, try to finalise; Shall dail with KErrInUse
nRes = file.Replace(TheFs, KFileName, EFileWrite | EFileRead);
test_KErrNone(nRes);
nRes =TheFs.FinaliseDrive(gDriveNum, RFs::EFinal_RW);
- test_KErrNone(nRes);
+ test(nRes==KErrInUse); //-- can't finalise drives with opened objects
file.Close();