diff -r 5e441a173c63 -r d9f1e5bfe28c kerneltest/e32test/mmu/t_sharedio.cpp --- a/kerneltest/e32test/mmu/t_sharedio.cpp Mon May 24 18:45:46 2010 +0100 +++ b/kerneltest/e32test/mmu/t_sharedio.cpp Thu Jun 10 11:48:01 2010 +0100 @@ -128,7 +128,6 @@ #include #include #include -#include "freeram.h" LOCAL_D RTest test(_L("T_SHAREDIO")); @@ -350,8 +349,6 @@ { TInt failResult=KErrGeneral; - TInt freeRam = FreeRam(); //This will also add a delay - for(TInt failCount=1; failCount<1000; failCount++) { test.Printf(_L("alloc fail count = %d\n"),failCount); @@ -369,10 +366,8 @@ test(failResult==KErrNoMemory); __KHEAP_MARKEND; + } - test(freeRam == FreeRam()); //This will also add a delay - } - User::__DbgSetAllocFail(ETrue,RAllocator::ENone,0); __KHEAP_RESET; test.Next(_L("Destroy buffer")); @@ -381,7 +376,7 @@ else ldd.DestroyBuffer(); - test(freeRam == FreeRam()); //This will also add a delay + __KHEAP_MARKEND; } GLDEF_C TInt E32Main()