public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
From: rmoseley@sourceware.org
To: frysk-cvs@sourceware.org
Subject: [SCM] master: Fix bz #6614 (testing with TestCoreCommand)
Date: Wed, 11 Jun 2008 20:42:00 -0000 [thread overview]
Message-ID: <20080611204249.25131.qmail@sourceware.org> (raw)
The branch, master has been updated
via e9ea00b225af9daaeb8e705d750c1331b912976a (commit)
from 33239fb5159db92b6e4df94c2c5dc27113ff98ae (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit e9ea00b225af9daaeb8e705d750c1331b912976a
Author: Rick Moseley <rmoseley@localhost.localdomain>
Date: Wed Jun 11 15:40:31 2008 -0500
Fix bz #6614 (testing with TestCoreCommand)
* TestCoreCommand.java: Add test for passing parameters.
* CorefileFactory.java: Change to call DaemonBlockedAtEntry.
-----------------------------------------------------------------------
Summary of changes:
frysk-core/frysk/hpd/ChangeLog | 4 ++++
frysk-core/frysk/hpd/TestCoreCommand.java | 9 +++------
frysk-core/frysk/testbed/ChangeLog | 5 +++++
frysk-core/frysk/testbed/CorefileFactory.java | 4 ++--
4 files changed, 14 insertions(+), 8 deletions(-)
First 500 lines of diff:
diff --git a/frysk-core/frysk/hpd/ChangeLog b/frysk-core/frysk/hpd/ChangeLog
index b7dd24d..a0daee0 100644
--- a/frysk-core/frysk/hpd/ChangeLog
+++ b/frysk-core/frysk/hpd/ChangeLog
@@ -1,3 +1,7 @@
+2008-06-11 Rick Moseley <rmoseley@redhat.com>
+
+ * TestCoreCommand.java: Fix bz #6614.
+
2008-06-11 Teresa Thomas <tthomas@redhat.com>
* TestWatchCommand.java (testWatchArraySlice): New test.
diff --git a/frysk-core/frysk/hpd/TestCoreCommand.java b/frysk-core/frysk/hpd/TestCoreCommand.java
index 0722d8b..5179d6d 100644
--- a/frysk-core/frysk/hpd/TestCoreCommand.java
+++ b/frysk-core/frysk/hpd/TestCoreCommand.java
@@ -111,14 +111,11 @@ public class TestCoreCommand extends TestLib {
public void testCoreLoadedParamsTwo() {
- if (unresolved(6614))
- return;
-// File exe = new File("/bin/echo");
- File exe = Prefix.pkgLibFile("funit-hello");
- File core = CorefileFactory.constructCoreAtSignal(exe, new String[] {"abcd"});
+ File exe = new File("/bin/echo");
+ File core = CorefileFactory.constructCoreAtEntry(exe, new String[] {"abcd"});
e = new HpdTestbed();
e.sendCommandExpectPrompt("core " + core.getPath(), "Attached to core.*");
- e.sendCommandExpectPrompt("info args", "output");
+ e.sendCommandExpectPrompt("info args", "abcd.*");
e.sendCommandExpectPrompt("run", "running.*abcd.*" +
"Attached to process ([0-9]+).*" + "Running process ([0-9]+).*");
e.send("quit\n");
diff --git a/frysk-core/frysk/testbed/ChangeLog b/frysk-core/frysk/testbed/ChangeLog
index 4952a98..90aee82 100644
--- a/frysk-core/frysk/testbed/ChangeLog
+++ b/frysk-core/frysk/testbed/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-11 Rick Moseley <rmoseley@redhat.com>
+
+ * CorefileFactory.java: Change method to call
+ DaemonBlockedAtEntry instead of DaemonBlockedAtSignal.
+
2008-06-10 Rick Moseley <rmoseley@redhat.com>
* CorefileFactory.java: Add method to pass args.
diff --git a/frysk-core/frysk/testbed/CorefileFactory.java b/frysk-core/frysk/testbed/CorefileFactory.java
index ad305ed..571869d 100644
--- a/frysk-core/frysk/testbed/CorefileFactory.java
+++ b/frysk-core/frysk/testbed/CorefileFactory.java
@@ -80,13 +80,13 @@ public class CorefileFactory extends TestLib {
* then extracts a corefile at that point, and return a File
* representing that core file.
*/
- public static File constructCoreAtSignal(File exeFile, String[] args) {
+ public static File constructCoreAtEntry(File exeFile, String[] args) {
String[] newargs = new String[args.length + 1];
newargs[0] = exeFile.getAbsolutePath();
for (int i = 0; i < args.length; i++)
newargs[i+1] = args[i];
final Proc ackProc
- = new DaemonBlockedAtSignal(newargs).getMainTask().getProc();
+ = new DaemonBlockedAtEntry(newargs).getMainTask().getProc();
return constructCore(ackProc);
}
hooks/post-receive
--
frysk system monitor/debugger
reply other threads:[~2008-06-11 20:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080611204249.25131.qmail@sourceware.org \
--to=rmoseley@sourceware.org \
--cc=frysk-cvs@sourceware.org \
--cc=frysk@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).