Bug 3628

Summary: Using funit-exec in a test case doesn't exec.
Product: frysk Reporter: Nurdin Premji <npremji>
Component: generalAssignee: Nurdin Premji <npremji>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 3540    
Attachments: Log of what is happening in this failed test.

Description Nurdin Premji 2006-11-30 21:04:08 UTC
The test case frysk.proc.TestMemory.test64To32Isa in the newIsa branch fails
without a signal being received or sent by the test process. (So it isn't execing?)

fails with: 

 test64To32Isa(frysk.proc.TestMemory)junit.framework.AssertionFailedError: event
loop run explictly stopped (assertExec (Sig_USR2))
   at frysk.proc.TestLib.assertRunUntilStop(TestRunner)
   at frysk.proc.TestLib.assertRunUntilStop(TestRunner)
   at frysk.proc.TestLib$AckHandler.assertAwait(TestRunner)
   at frysk.proc.TestLib$AckHandler.await(TestRunner)
   at frysk.proc.TestMemory.test64To32Isa(TestRunner)
   at frysk.junit.Runner.runCases(TestRunner)
   at frysk.junit.Runner.runArchCases(TestRunner)
   at frysk.junit.Runner.runTestCases(TestRunner)
   at TestRunner.main(TestRunner)
Comment 1 Nurdin Premji 2006-11-30 21:05:01 UTC
Created attachment 1444 [details]
Log of what is happening in this failed test.
Comment 2 Nurdin Premji 2006-12-01 00:17:24 UTC
Fixed
2006-11-30
frysk-core/frysk/pkglibexecdir/CL
	* funit-exec.c (stringtolong): Added, better parsing of integer values.
	(main): Unmasked SIGUSR1 and SIGUSR2 so that test can be run from an funit
testcase.
	Send a sigalrm so that the process dies when it is supposed to.