diff -r 211563e4b919 -r 6b6fd149daa2 persistentstorage/sql/TEST/t_sqlfserr.cpp --- a/persistentstorage/sql/TEST/t_sqlfserr.cpp Wed Apr 14 17:46:32 2010 +0300 +++ b/persistentstorage/sql/TEST/t_sqlfserr.cpp Tue Apr 27 18:25:57 2010 +0300 @@ -1,4 +1,4 @@ -// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2007-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" @@ -165,7 +165,7 @@ TEST(err >= 0); TheDb.Close(); err = KErrNotFound; - for(TInt cnt=1;err=KErrDied;--fsError) @@ -225,7 +225,7 @@ TEST(err >= 0); TheDb.Close(); err = KErrNotFound; - for(TInt cnt=1;err=KErrDied;--fsError) @@ -334,7 +334,7 @@ { TheTest.Printf(_L("Database: \"%S\"\r\n"), &dbName[k]); TInt err = KErrNotFound; - for(TInt cnt=1;err=KErrDied;--fsError) @@ -390,7 +390,7 @@ { TheTest.Printf(_L("Database: \"%S\"\r\n"), &dbName[k]); TInt err = -1; - for(TInt cnt=1;err=KErrDied;--fsError) @@ -442,7 +442,7 @@ { TheTest.Printf(_L("Database: \"%S\"\r\n"), &dbName[k]); TInt err = KErrGeneral; - for(TInt cnt=1;err=KErrDied;--fsError) @@ -516,7 +516,7 @@ TEST2(err, 1); TheDb.Close(); err = -1; - for(TInt cnt=1;err dbFileName8; dbFileName8.Copy(TheRmvMediaDbFileName); - for(TInt cnt=1;rc!=SQLITE_OK;++cnt) + for(TInt cnt=0;rc!=SQLITE_OK;++cnt) { TheTest.Printf(_L("%d \r"), cnt); sqlite3* dbHandle = NULL; @@ -900,7 +900,7 @@ TheDb.Close(); //"File I/O" error simulation loop err = KErrCorrupt; - for(TInt cnt=1;err 0); //"File I/O" error simulation loop err = KErrCorrupt; - for(TInt cnt=1;errDes(); err = KErrCorrupt; - for(TInt cnt=1;err