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.
Added new method to CorefileFactory.java that calls DaemonBlockedAtEntry so when a task is activated a core dump is done.