kerneltest/e32test/mmu/t_sharedchunk.cpp
changeset 293 0659d0e1a03c
parent 31 56f325a607ea
--- a/kerneltest/e32test/mmu/t_sharedchunk.cpp	Mon Oct 18 15:31:10 2010 +0100
+++ b/kerneltest/e32test/mmu/t_sharedchunk.cpp	Wed Oct 20 13:58:28 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of the License "Eclipse Public License v1.0"
@@ -1320,17 +1320,12 @@
 
 TInt E32Main()
 	{
+	COMPLETE_POST_BOOT_SYSTEM_TASKS();
 	// Running as slave?
 	TInt slaveCommand;
 	if(User::GetTIntParameter(1,slaveCommand)==KErrNone)
 		return SlaveCommand((TSlaveCommand)slaveCommand);
 
-// Turn off lazy dll unloading
-	RLoader l;
-	test(l.Connect()==KErrNone);
-	test(l.CancelLazyDllUnload()==KErrNone);
-	l.Close();
-
 	test.Title();
 
 	MemModelAttributes=UserSvr::HalFunction(EHalGroupKernel, EKernelHalMemModelInfo, NULL, NULL);