public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
From: scox@sourceware.org
To: frysk-cvs@sourceware.org
Subject: [SCM]  master: Merge branch 'master' of ssh://sources.redhat.com/git/frysk
Date: Fri, 16 Nov 2007 15:59:00 -0000	[thread overview]
Message-ID: <20071116155934.17912.qmail@sourceware.org> (raw)

The branch, master has been updated
       via  c0c08f0972f8bf58b60bad249421032b17e55f63 (commit)
       via  f76200f31dc070adaff33426daa90b239dd53865 (commit)
      from  afccca1009fdea92c30ebc3a34227045daa6d929 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit c0c08f0972f8bf58b60bad249421032b17e55f63
Merge: f76200f31dc070adaff33426daa90b239dd53865 afccca1009fdea92c30ebc3a34227045daa6d929
Author: Stan Cox <scox@redhat.com>
Date:   Fri Nov 16 10:57:20 2007 -0500

    Merge branch 'master' of ssh://sources.redhat.com/git/frysk

commit f76200f31dc070adaff33426daa90b239dd53865
Author: Stan Cox <scox@redhat.com>
Date:   Fri Nov 16 10:56:57 2007 -0500

    Use sendCommandExpectPrompt where applicable.
    
    * TestListCommand.java (testListPC): Use sendCommandExpectPrompt.
    (testListFunction): Likewise.
    (testListReverse): Likewise.
    (testListErrors): Likewise.

-----------------------------------------------------------------------

Summary of changes:
 frysk-core/frysk/hpd/ChangeLog            |    7 +++++++
 frysk-core/frysk/hpd/TestListCommand.java |   22 ++++++++--------------
 2 files changed, 15 insertions(+), 14 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/hpd/ChangeLog b/frysk-core/frysk/hpd/ChangeLog
index 0f67675..b5690a0 100644
--- a/frysk-core/frysk/hpd/ChangeLog
+++ b/frysk-core/frysk/hpd/ChangeLog
@@ -1,3 +1,10 @@
+2007-11-16  Stan Cox  <scox@redhat.com>
+
+	* TestListCommand.java (testListPC): Use sendCommandExpectPrompt.
+	(testListFunction): Likewise.
+	(testListReverse): Likewise.
+	(testListErrors): Likewise.
+
 2007-11-15  Stan Cox  <scox@redhat.com>
 	* TestListCommand.java (testListPC): Change to use funit-quicksort.
 	(testListFunction): Likewise.
diff --git a/frysk-core/frysk/hpd/TestListCommand.java b/frysk-core/frysk/hpd/TestListCommand.java
index ae3fb49..8b2a015 100644
--- a/frysk-core/frysk/hpd/TestListCommand.java
+++ b/frysk-core/frysk/hpd/TestListCommand.java
@@ -52,8 +52,7 @@ public class TestListCommand extends TestLib {
 
     public void testListPC() {
 	e = HpdTestbed.run("funit-quicksort");
-        e.send("break main\n");
-        e.expect("breakpoint.*" + prompt);
+	e.sendCommandExpectPrompt("break main", "breakpoint.*");
         e.send("go\n");
         e.expect("go.*\n" + prompt + "Breakpoint");
 	// Matching the list expected output is a trial and error process
@@ -80,8 +79,7 @@ public class TestListCommand extends TestLib {
 
     public void testListFunction() {
 	e = HpdTestbed.run("funit-quicksort");
-        e.send("break main\n");
-        e.expect("breakpoint.*" + prompt);
+	e.sendCommandExpectPrompt("break main", "breakpoint.*");
         e.send("go\n");
         e.expect("go.*\n" + prompt + "Breakpoint");
 	e.send("list\n");
@@ -125,8 +123,7 @@ public class TestListCommand extends TestLib {
 
     public void testListReverse() {
 	e = HpdTestbed.run("funit-quicksort");
-        e.send("break main\n");
-        e.expect("breakpoint.*" + prompt);
+	e.sendCommandExpectPrompt("break main", "breakpoint.*");
         e.send("go\n");
         e.expect("go.*\n" + prompt + "Breakpoint");
 	e.send("list\n");
@@ -160,16 +157,13 @@ public class TestListCommand extends TestLib {
 
     public void testListErrors() {
 	e = HpdTestbed.run("funit-quicksort");
-        e.send("break main\n");
-        e.expect("breakpoint.*" + prompt);
+	e.sendCommandExpectPrompt("break main", "breakpoint.*");
         e.send("go\n");
         e.expect("go.*\n" + prompt + "Breakpoint");
-	e.send("list x\n");
-	e.expect(".*function x not found.*" + prompt);
-	e.send("list xyz\n");
-	e.expect(".*symbol xyz not found.*" + prompt);
-        e.send("quit\n");
-        e.expect("quit.*\nQuitting...");
+	e.sendCommandExpectPrompt("list x", ".*function x not found.*"); 
+	e.sendCommandExpectPrompt("list xyz", ".*symbol xyz not found.*");
+	e.send("quit\n");
+	e.expect("quit.*\nQuitting...");
         e.close();
     }
 }


hooks/post-receive
--
frysk system monitor/debugger


             reply	other threads:[~2007-11-16 15:59 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-16 15:59 scox [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-06-05 15:33 rmoseley
2008-05-12 16:30 rmoseley
2008-05-12 16:07 pmuldoon
2008-05-09 17:29 rmoseley
2008-04-02 22:41 pmuldoon
2008-04-01 12:28 pmuldoon
2008-03-20 20:20 rmoseley
2008-03-18 16:22 pmuldoon
2008-02-26 15:32 pmuldoon
2008-01-24 19:23 rmoseley
2008-01-23 21:10 rmoseley
2008-01-03 16:55 pmuldoon
2007-12-13 20:18 rmoseley
2007-12-04 17:45 jflavio
2007-11-30  4:24 jflavio
2007-11-28 21:40 jflavio
2007-11-28 16:20 jflavio
2007-11-28 13:08 pmuldoon
2007-11-28 12:04 mark
2007-11-20 22:47 scox
2007-11-19 17:58 scox
2007-11-17  8:35 rmoseley
2007-11-16 14:59 pmuldoon
2007-11-14  2:38 scox
2007-11-14  2:09 jflavio
2007-11-13  0:41 scox
2007-11-10 14:47 jflavio
2007-11-10  0:34 scox
2007-11-09 14:59 jflavio

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=20071116155934.17912.qmail@sourceware.org \
    --to=scox@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).