public inbox for frysk-cvs@sourceware.org help / color / mirror / Atom feed
From: rmoseley@sourceware.org To: frysk-cvs@sourceware.org Subject: [SCM] master: Add special test to TestKillCommand pointing to bz 5615. Date: Fri, 29 Feb 2008 18:47:00 -0000 [thread overview] Message-ID: <20080229184702.6267.qmail@sourceware.org> (raw) The branch, master has been updated via 341be145d54d20251fb1106604c64189d8d45f65 (commit) from 75075802814e005513057faa5bb15441638ee327 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 341be145d54d20251fb1106604c64189d8d45f65 Author: Rick Moseley <rmoseley@localhost.localdomain> Date: Fri Feb 29 12:42:36 2008 -0600 Add special test to TestKillCommand pointing to bz 5615. * TestKillCommand.java: Add test that points to bz 5615. ----------------------------------------------------------------------- Summary of changes: frysk-core/frysk/hpd/ChangeLog | 4 +++ frysk-core/frysk/hpd/TestKillCommand.java | 30 +++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 0 deletions(-) First 500 lines of diff: diff --git a/frysk-core/frysk/hpd/ChangeLog b/frysk-core/frysk/hpd/ChangeLog index 2c78071..5233344 100644 --- a/frysk-core/frysk/hpd/ChangeLog +++ b/frysk-core/frysk/hpd/ChangeLog @@ -1,3 +1,7 @@ +2008-02-29 Rick Moseley <rmoseley@redhat.com> + + * TestKillCommand.java: Add test that points to bz 5615. + 2008-02-28 Andrew Cagney <cagney@redhat.com> * HardList.java: Use frysk.rsl. diff --git a/frysk-core/frysk/hpd/TestKillCommand.java b/frysk-core/frysk/hpd/TestKillCommand.java index 15e12b7..d2b1bdf 100644 --- a/frysk-core/frysk/hpd/TestKillCommand.java +++ b/frysk-core/frysk/hpd/TestKillCommand.java @@ -110,6 +110,36 @@ public class TestKillCommand extends TestLib { e.close(); } + + public void testKillCommandTest() { + /* + * This is a copy of the testKillCommand as it should be able to be run without + * the delay and without leaving off the "quit" command. + * + */ + if (unresolved(5615)) + return; + e = new HpdTestbed(); + e.sendCommandExpectPrompt("load " + Config.getPkgLibFile("funit-threads-looper").getPath(), + "Loaded executable file.*"); + + e.sendCommandExpectPrompt("run", "Attached to process.*"); + e.sendCommandExpectPrompt("go", "Running process.*"); + e.sendCommandExpectPrompt("kill", "Killing process.*Loaded executable file.*"); + + e.sendCommandExpectPrompt("run", "Attached to process.*"); + e.sendCommandExpectPrompt("go", "Running process.*"); + e.sendCommandExpectPrompt("kill", "Killing process.*Loaded executable file.*"); + + e.expect("Loaded executable file*"); + /* Make sure we can quit gracefully */ + + e.send("quit\n"); + e.expect("Quitting\\.\\.\\..*"); + e.close(); + } + + /** * Test when all you have done is loaded/run the process and not * have done a "go" on it. hooks/post-receive -- frysk system monitor/debugger
reply other threads:[~2008-02-29 18:47 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=20080229184702.6267.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: linkBe 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).