kerneltest/e32test/secure/t_sdrivers.cpp
changeset 102 ef2a444a7410
parent 0 a41df078684a
child 109 b3a1d9898418
equal deleted inserted replaced
90:947f0dc9f7a8 102:ef2a444a7410
   365 	ldd.KernelTestData(kernelPtr,kernelData2);
   365 	ldd.KernelTestData(kernelPtr,kernelData2);
   366 	test_Equal(kernelData,kernelData2);
   366 	test_Equal(kernelData,kernelData2);
   367 
   367 
   368 	// get another thread to try and call device GetCaps with descriptor in kernel memory...
   368 	// get another thread to try and call device GetCaps with descriptor in kernel memory...
   369 	test.Next(_L("Check GetCaps with bad descriptor 2"));
   369 	test.Next(_L("Check GetCaps with bad descriptor 2"));
   370 	r = thread.Create(_L("TestGetCapsThread"),TestGetCapsThread,KDefaultStackSize,0x2000,0x2000,(TAny*)kernelPtr);
   370 	r = thread.Create(_L("TestGetCapsThread2"),TestGetCapsThread,KDefaultStackSize,0x2000,0x2000,(TAny*)kernelPtr);
   371 	test_KErrNone(r);
   371 	test_KErrNone(r);
   372 	thread.Logon(ls);
   372 	thread.Logon(ls);
   373 	thread.Rendezvous(rs);
   373 	thread.Rendezvous(rs);
   374 	thread.Resume();
   374 	thread.Resume();
   375 	User::WaitForRequest(rs);
   375 	User::WaitForRequest(rs);