commonservices/sysutil/test/tef/te_sysutilburtestsuite/src/te_sysutiltestversioninfo.cpp
changeset 63 09d657f1ee00
parent 0 4e1aa6a622a0
child 61 8cb079868133
--- a/commonservices/sysutil/test/tef/te_sysutilburtestsuite/src/te_sysutiltestversioninfo.cpp	Wed Aug 18 11:03:14 2010 +0300
+++ b/commonservices/sysutil/test/tef/te_sysutilburtestsuite/src/te_sysutiltestversioninfo.cpp	Thu Sep 02 21:48:26 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of "Eclipse Public License v1.0"
@@ -98,9 +98,13 @@
 */
 void CSysUtilTestVersionInfoStep::TestAllAPIsL()
 	{
-	SetTestPath(EFalse);
-	
-	TBool passed = ETrue;
+    TBool passed = ETrue;
+	TInt error = SetTestPath(ETrue);
+	if(KErrNone != error)
+	    {
+	    RDebug::Printf("Setting test path to ETrue failed with error %d", error);
+	    passed = EFalse;
+	    }
 	
 	TBuf16<KSysUtilVersionTextLength> actualValue;
 	RDebug::Printf("Testing SW Version \n");