Bug 6614 - Cannot test core command as I would like
Summary: Cannot test core command as I would like
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Rick Moseley
Depends on:
Blocks: 2246
  Show dependency treegraph
Reported: 2008-06-10 14:27 UTC by Rick Moseley
Modified: 2008-06-11 20:44 UTC (History)
0 users

See Also:
Last reconfirmed:


Note You need to log in before you can comment on or make changes to this bug.
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) ...
  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.