kerneltest/f32test/filesystem/fat/t_mount.cpp
branchRCL_3
changeset 43 c1f20ce4abcf
parent 0 a41df078684a
child 44 3e88ff8f41d5
--- a/kerneltest/f32test/filesystem/fat/t_mount.cpp	Thu Aug 19 11:14:22 2010 +0300
+++ b/kerneltest/f32test/filesystem/fat/t_mount.cpp	Tue Aug 31 16:34:26 2010 +0300
@@ -629,12 +629,12 @@
     bDriveFinalised = DoCheckVolumeFinalised(gDriveNum);
     test(!bDriveFinalised); //-- the volume has become "unfinalised"
 
-    //-- 2.1 open a file, try to finalise; Shall dail with KErrInUse
+    //-- 2.1 open a file, try to finalise; This should be OK
     nRes = file.Replace(TheFs, KFileName, EFileWrite | EFileRead);
     test_KErrNone(nRes);
 
     nRes =TheFs.FinaliseDrive(gDriveNum, RFs::EFinal_RW);
-    test(nRes==KErrInUse); //-- can't finalise drives with opened objects
+    test_KErrNone(nRes);
 
     file.Close();
 
@@ -1274,7 +1274,6 @@
     PrintDrvInfo(TheFs, gDriveNum);
     InitGlobals();
 
-
     TestNotifyDiskSpace();
 
     //-------------------------------------