diff -r c1f20ce4abcf -r 3e88ff8f41d5 kerneltest/e32test/thread/t_thread.cpp --- a/kerneltest/e32test/thread/t_thread.cpp Tue Aug 31 16:34:26 2010 +0300 +++ b/kerneltest/e32test/thread/t_thread.cpp Wed Sep 01 12:34:56 2010 +0100 @@ -601,8 +601,7 @@ test(thread.ExitCategory()==_L("panic")); test(thread.ExitReason()==123); test(thread.ExitType()==EExitPanic); - r = RTest::CloseHandleAndWaitForDestruction(thread); - test_KErrNone(r); + CLOSE_AND_WAIT(thread); } test.Next(_L("Internal exit"));