|Summary:||Cannot test core command as I would like|
|Product:||frysk||Reporter:||Rick Moseley <rmoseley>|
|Component:||general||Assignee:||Rick Moseley <rmoseley>|
|Bug Depends on:|
Description Rick Moseley 2008-06-10 14:27:24 UTC
In writing a test for the "core" command I was trying to test the feature of passing arguments to the "run" command through the core file itself. I added a new method to CorefileFactory that would accept a File and a set of args as arguments and this was to be passed on up to DaemonBlockedAtSignal(newargs).getMainTask().getProc(). The problem is I cannot seem to get it to accept the args. If I just pass the executable all works fine, but since there are no args I cannot use this to test the above. Unfortunately seems to run to exit and not dump a core file like I would like it to. I get this: Running testCoreLoadedParamsTwo(frysk.hpd.TestCoreCommand) ... ERROR java.lang.RuntimeException: Program Exited.
Comment 1 Rick Moseley 2008-06-11 20:44:10 UTC
Added new method to CorefileFactory.java that calls DaemonBlockedAtEntry so when a task is activated a core dump is done.