--- a/lowlevellibsandfws/pluginfw/Framework/EcomTestUtils/EcomTestUtils.cpp Fri Jun 11 15:26:22 2010 +0300
+++ b/lowlevellibsandfws/pluginfw/Framework/EcomTestUtils/EcomTestUtils.cpp Wed Aug 18 11:27:44 2010 +0300
@@ -208,8 +208,13 @@
}
//determine the ROM confguration (NAND or non-NAND)
+ TInt r = KErrNone;
RFs fs;
- fs.Connect();
+ r = fs.Connect();
+ if (r != KErrNone)
+ {
+ return r;
+ }
TBool nandBuild = (EComTestUtils::RomBuildType(fs)==ENandRomBuild);
fs.Close();
@@ -251,8 +256,12 @@
//is also checking the media type of C drive to determine the same.
//Currently added this check for WDP enabled in case of H4 'muid == HAL::EMachineUid_OmapH4' only
TDriveInfo driveInfo;
-
- fs.Connect();
+ TInt rf = KErrNone;
+ rf = fs.Connect();
+ if (rf != KErrNone)
+ {
+ return rf;
+ }
fs.Drive(driveInfo, EDriveC);
fs.Close();