kerneltest/e32test/mmu/t_sharedio.cpp
changeset 293 0659d0e1a03c
parent 189 a5496987b1da
child 300 1d28c8722707
--- a/kerneltest/e32test/mmu/t_sharedio.cpp	Mon Oct 18 15:31:10 2010 +0100
+++ b/kerneltest/e32test/mmu/t_sharedio.cpp	Wed Oct 20 13:58:28 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2003-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"
@@ -381,6 +381,7 @@
 
 GLDEF_C TInt E32Main()
     {
+	COMPLETE_POST_BOOT_SYSTEM_TASKS();
 	TBuf16<512> cmd;
 	User::CommandLine(cmd);
 	if(cmd.Length() && TChar(cmd[0]).IsDigit())
@@ -401,12 +402,6 @@
 	TUint mm=MemModelAttributes&EMemModelTypeMask;
 	PhysicalCommitSupported = mm!=EMemModelTypeDirect && mm!=EMemModelTypeEmul;
 
-// Turn off lazy dll unloading
-	RLoader l;
-	test(l.Connect()==KErrNone);
-	test(l.CancelLazyDllUnload()==KErrNone);
-	l.Close();
-
 	test.Title();
 
 #if defined(__FIXED__) || defined(__SECOND_FIXED__) || defined(__MOVING_FIXED__)