kerneltest/f32test/filesystem/fat/t_mount.cpp
branchRCL_3
changeset 268 345b1ca54e88
parent 257 3e88ff8f41d5
child 294 039a3e647356
--- a/kerneltest/f32test/filesystem/fat/t_mount.cpp	Tue Sep 14 23:56:21 2010 +0300
+++ b/kerneltest/f32test/filesystem/fat/t_mount.cpp	Wed Sep 15 13:42:27 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();