public inbox for frysk-cvs@sourceware.org help / color / mirror / Atom feed
From: mark@sourceware.org To: frysk-cvs@sourceware.org Subject: [SCM] master: Use tighter expect regexps for TestActionsCommand. Date: Mon, 10 Mar 2008 10:16:00 -0000 [thread overview] Message-ID: <20080310101619.10088.qmail@sourceware.org> (raw) The branch, master has been updated via 83c4a9ba95be174298836adf0536cbb734051e56 (commit) from 85feab572e96da7c994cb2e0742333cc7c9a2750 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 83c4a9ba95be174298836adf0536cbb734051e56 Author: Mark Wielaard <mwielaard@redhat.com> Date: Mon Mar 10 11:09:58 2008 +0100 Use tighter expect regexps for TestActionsCommand. frysk-core/frysk/hpd/ChangeLog 2008-03-10 Mark Wielaard <mwielaard@redhat.com> * TestActionsCommand: Use tighter expect regular expressions. ----------------------------------------------------------------------- Summary of changes: frysk-core/frysk/hpd/ChangeLog | 4 ++++ frysk-core/frysk/hpd/TestActionsCommand.java | 12 ++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) First 500 lines of diff: diff --git a/frysk-core/frysk/hpd/ChangeLog b/frysk-core/frysk/hpd/ChangeLog index 56bc031..be519b5 100644 --- a/frysk-core/frysk/hpd/ChangeLog +++ b/frysk-core/frysk/hpd/ChangeLog @@ -1,5 +1,9 @@ 2008-03-10 Mark Wielaard <mwielaard@redhat.com> + * TestActionsCommand: Use tighter expect regular expressions. + +2008-03-10 Mark Wielaard <mwielaard@redhat.com> + * TestListCommand (testListFrames): Mark unresolved bug #5901 . 2008-03-07 Teresa Thomas <tthomas@redhat.com> diff --git a/frysk-core/frysk/hpd/TestActionsCommand.java b/frysk-core/frysk/hpd/TestActionsCommand.java index a01b9e8..b72be4d 100644 --- a/frysk-core/frysk/hpd/TestActionsCommand.java +++ b/frysk-core/frysk/hpd/TestActionsCommand.java @@ -47,15 +47,15 @@ public class TestActionsCommand extends TestLib { hpd = HpdTestbed.load("funit-hello"); hpd.send("break print\n"); - hpd.expect("breakpoint.*\n" + prompt); + hpd.expect("breakpoint 0 deferred\r\n" + prompt); hpd.send("run\n"); - hpd.expect("Breakpoint 0.*\n"); + hpd.expect("Breakpoint 0 print 0x[0-9a-f]+\r\n"); - hpd.send("actions\n"); - hpd.expect("actions.*\n"); - hpd.expect("BREAKPOINTS.*\n"); - hpd.expect("0 y print [0-9]+.*\n"); + hpd.send("actions\r\n"); + hpd.expect("actions\r\n"); + hpd.expect("BREAKPOINTS\r\n"); + hpd.expect("0 y print [0-9]+ \r\n"); hpd.send("quit\n"); hpd.expect("quit.*\nQuitting..."); hooks/post-receive -- frysk system monitor/debugger
reply other threads:[~2008-03-10 10:16 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=20080310101619.10088.qmail@sourceware.org \ --to=mark@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).