lowlevellibsandfws/pluginfw/Framework/EcomTestUtils/t_processfilemandeletefile.cpp
--- a/lowlevellibsandfws/pluginfw/Framework/EcomTestUtils/t_processfilemandeletefile.cpp Fri Jun 11 15:26:22 2010 +0300
+++ b/lowlevellibsandfws/pluginfw/Framework/EcomTestUtils/t_processfilemandeletefile.cpp Wed Aug 18 11:27:44 2010 +0300
@@ -23,8 +23,13 @@
void DeleteFileL(const TDesC& aFile)
{
+ TInt r = KErrNone;
RFs fs;
- fs.Connect();
+ r = fs.Connect();
+ if (r != KErrNone)
+ {
+ User::Leave(r);
+ }
CleanupClosePushL(fs);
CFileMan* fileMan = CFileMan::NewL(fs);