The test: testTerm(frysk.proc.TestTaskTerminateObserver) takes a noticeable amount of time, suggesting some sort of timeout is occuring. This shouldn't be necessary.
Changes to properly synchronize this test with its inferior: Index: frysk-core/frysk/pkglibexecdir/ChangeLog 2006-11-27 Andrew Cagney <cagney@redhat.com> * funit-threadexit.c (running_thread_can_exit): New barrier. (main, op_thread): Use running_thread_can_exit to block thread's exit until after main has opened the thread's /proc/stat file. * funit-threadexit.c (scan_thread): Delete (main): Do the scan for thread in 'X' state here, instead of in scan_thread. Create only one thread. (condition_cond, condition_mutex): Delete. (thread_running_barrier): Rename "barrier". (thread_id): Make volatile. (op_thread): Simplify, use only one barrier. Index: frysk-core/frysk/proc/ChangeLog 2006-11-27 Andrew Cagney <cagney@redhat.com> * TestTaskTerminateObserver.java (TerminatingCounter.addedTo): Add; stop the event loop. (testAttachToUnJoinedTask): Rename testTerm; simplify, explicitly terminate the thread.