featuremgmt/featuremgr/test/rtest/src/t_fmgroom.cpp
branchRCL_3
changeset 9 667e88a979d7
parent 8 fa9941cf3867
child 10 31a8f755b7fe
--- a/featuremgmt/featuremgr/test/rtest/src/t_fmgroom.cpp	Fri Mar 12 15:51:02 2010 +0200
+++ b/featuremgmt/featuremgr/test/rtest/src/t_fmgroom.cpp	Mon Mar 15 12:46:30 2010 +0200
@@ -39,10 +39,8 @@
 static TInt TheProcessHandleCount = 0;
 static TInt TheThreadHandleCount = 0;
 static TInt TheAllocatedCellsCount = 0;
+static const TInt KBurstRate = 20;
 
-#ifdef EXTENDED_FEATURE_MANAGER_TEST
-static const TInt KBurstRate = 20;
-#endif
 
 enum TFeatMgrOomTestMode
     {
@@ -560,14 +558,15 @@
     
     TEntry entry;
     TInt err = fsSession.Entry(KZFeaturesDir, entry);
+    TEST2 (err, KErrNone);
     if (err == KErrNone)
         {
+        //if not extended this is attempting to delte from the Z drive
+#ifdef EXTENDED_FEATURE_MANAGER_TEST
         err = BaflUtils::DeleteFile(fsSession,KZFeaturesFile);
         TEST2 (err, KErrNone);
-        
+#endif        
         }
-    TEST2 (err, KErrNone);
-    
     // close file server session
     fsSession.Close();
     }