kerneltest/f32test/server/t_format.cpp
changeset 286 48e57fb1237e
parent 175 5af6c74cd793
--- a/kerneltest/f32test/server/t_format.cpp	Wed Oct 06 17:13:14 2010 +0100
+++ b/kerneltest/f32test/server/t_format.cpp	Mon Oct 11 17:54:41 2010 +0100
@@ -741,34 +741,6 @@
     test_Value(nRes, nRes == KErrDisMounted);
     file1.Close();  //-- this will make the previously "Dismounted" mount die.
 
-    //---------------------------------------------------------------------------------
-    //-- 3. check that forced formatting will complete NotifyDismount
-    test.Printf(_L("Test forced formatting completes NotifyDismount\n"));
-    TRequestStatus stat1;
-
-    nRes = file1.Replace(TheFs, KFname, EFileWrite);
-    test_KErrNone(nRes);
-
-    TheFs.NotifyDismount(gDrive, stat1, EFsDismountRegisterClient);
-    test(stat1.Int() == KRequestPending);
-
-    fmtMode = EQuickFormat;
-    nRes = format.Open(TheFs, drivePath, fmtMode, fmtCnt);
-    test_Value(nRes, nRes == KErrInUse);
-    format.Close();
-
-    test(stat1.Int() == KRequestPending);
-
-    fmtMode = EQuickFormat | EForceFormat; 
-    nRes = format.Open(TheFs, drivePath, fmtMode, fmtCnt); 
-    test_KErrNone(nRes);
-    format.Close();
-
-    User::WaitForRequest(stat1);
-    test(stat1.Int() == KErrNone);
-
-    buf8.SetLength(22);
-    nRes = file1.Write(buf8);
     test_Value(nRes, nRes == KErrDisMounted);
     file1.Close();