diff -r 5fae379060a7 -r bf6a71c50e42 lowlevellibsandfws/pluginfw/Framework/NotificationTest/t_ecomcancel.cpp --- a/lowlevellibsandfws/pluginfw/Framework/NotificationTest/t_ecomcancel.cpp Fri Jun 11 15:26:22 2010 +0300 +++ b/lowlevellibsandfws/pluginfw/Framework/NotificationTest/t_ecomcancel.cpp Wed Aug 18 11:27:44 2010 +0300 @@ -743,11 +743,16 @@ TheTest.Title(); TheTest.Start(_L("Starting tests...")); TInt err = KErrNone; + TInt r = KErrNone; CTrapCleanup* cleanup = CTrapCleanup::New(); CActiveScheduler* scheduler = new(ELeave)CActiveScheduler; CActiveScheduler::Install(scheduler); - TheFs.Connect(); + r = TheFs.Connect(); + if (r != KErrNone) + { + return r; + } // Reset the test environment under textshell in emulator/ROM TRAP(err, ResetEComEnvironmentL());