diff -r ccb4f6b3db21 -r 8cb079868133 commonservices/sysutil/test/tef/te_sysutilburtestsuite/src/te_sysutiltestversioninfo.cpp --- a/commonservices/sysutil/test/tef/te_sysutilburtestsuite/src/te_sysutiltestversioninfo.cpp Tue Aug 31 16:29:05 2010 +0300 +++ b/commonservices/sysutil/test/tef/te_sysutilburtestsuite/src/te_sysutiltestversioninfo.cpp Wed Sep 01 12:34:26 2010 +0100 @@ -1,4 +1,4 @@ -// Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2008-2009 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,13 +98,9 @@ */ void CSysUtilTestVersionInfoStep::TestAllAPIsL() { - TBool passed = ETrue; - TInt error = SetTestPath(ETrue); - if(KErrNone != error) - { - RDebug::Printf("Setting test path to ETrue failed with error %d", error); - passed = EFalse; - } + SetTestPath(EFalse); + + TBool passed = ETrue; TBuf16 actualValue; RDebug::Printf("Testing SW Version \n");