public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
From: mark@sourceware.org
To: frysk-cvs@sourceware.org
Subject: [SCM]  master: Enable TestDisplayCommand and adjust to new actions syntax. Solves bug #4982.
Date: Fri, 18 Apr 2008 19:09:00 -0000	[thread overview]
Message-ID: <20080418190951.30916.qmail@sourceware.org> (raw)

The branch, master has been updated
       via  1c65982254c28f61fc7b1fe47a74e93edf876953 (commit)
      from  9072e069746c0f4d1a10c00482971fa0b4f1fd09 (commit)

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

- Log -----------------------------------------------------------------
commit 1c65982254c28f61fc7b1fe47a74e93edf876953
Author: Mark Wielaard <mwielaard@redhat.com>
Date:   Fri Apr 18 21:06:46 2008 +0200

    Enable TestDisplayCommand and adjust to new actions syntax. Solves bug #4982.
    
    frysk-core/frysk/hpd/ChangeLog
    2008-04-18  Mark Wielaard  <mwielaard@redhat.com>
    
           * TestDisplayCommand.java: Don't mark unresolved. Adjust to new
           actionpoints -> actions command syntax.

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

Summary of changes:
 frysk-core/frysk/hpd/ChangeLog               |    5 ++++
 frysk-core/frysk/hpd/TestDisplayCommand.java |   33 +++++++++++---------------
 2 files changed, 19 insertions(+), 19 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/hpd/ChangeLog b/frysk-core/frysk/hpd/ChangeLog
index b48eb6e..633e5dc 100644
--- a/frysk-core/frysk/hpd/ChangeLog
+++ b/frysk-core/frysk/hpd/ChangeLog
@@ -1,3 +1,8 @@
+2008-04-18  Mark Wielaard  <mwielaard@redhat.com>
+
+	* TestDisplayCommand.java: Don't mark unresolved. Adjust to new
+	actionpoints -> actions command syntax.
+
 2008-04-18  Rick Moseley  <rmoseley@redhat.com>
 
 	* StartRun.java: Fix bug in TestSysRoot introduced by
diff --git a/frysk-core/frysk/hpd/TestDisplayCommand.java b/frysk-core/frysk/hpd/TestDisplayCommand.java
index f89d43f..d71c2f9 100644
--- a/frysk-core/frysk/hpd/TestDisplayCommand.java
+++ b/frysk-core/frysk/hpd/TestDisplayCommand.java
@@ -43,38 +43,33 @@ public class TestDisplayCommand
     extends TestLib
 {
     public void testHpdDisplayCommands() {
-	if (unresolved(4941))
-	    return;
-	e = HpdTestbed.run("funit-rt-varchange");
+	e = HpdTestbed.load("funit-rt-varchange");
+	e.send("start\n");
+	e.expect("starting with this commmand.*" + prompt);
+
 	// Break
 	
-	// FIXME: 4941
-	try { Thread.sleep(2000); } catch(Exception e) {}
-	
         e.send("break #funit-rt-varchange.c#53\n");
         e.expect("breakpoint.*" + prompt);
         e.send("go\n");
 	e.expect("go.*" + prompt + ".*Breakpoint.*#funit-rt-varchange.c#53.*");
 	
-	// FIXME: 4941
-	try { Thread.sleep(2000); } catch(Exception e) {}
-	
 	e.send("display x\n");
 	e.expect("display.*1:.*x = .*" + prompt);
 	e.send("display y*2\n");
 	e.expect("display.*2:.*y*2 = .*" + prompt);
-	e.send("actionpoints -display\n");
-	e.expect("actionpoints.*DISPLAYS.*2.*y.*\"y.*\".*\n1.*y.*\"x\".*"
+	e.send("actions -display\n");
+	e.expect("actions.*DISPLAYS.*2.*y.*\"y.*\".*\n1.*y.*\"x\".*"
 		+ prompt);
 	e.send("disable 1\n");
 	e.expect("disable.*display 1 disabled.*" + prompt);
-	e.send("actionpoints -display\n");
-	e.expect("actionpoints.*DISPLAYS.*2.*y.*\"y.*\".*\n1.*n.*\"x\".*"
+	e.send("actions -display\n");
+	e.expect("actions.*DISPLAYS.*2.*y.*\"y.*\".*\n1.*n.*\"x\".*"
 		+ prompt);
 	e.send("disable -display\n");
 	e.expect("disable.*display 2 disabled.*" + prompt);
-	e.send("actionpoints -display\n");
-	e.expect("actionpoints.*DISPLAYS.*2.*n.*\"y.*\".*\n1.*n.*\"x\".*"
+	e.send("actions -display\n");
+	e.expect("actions.*DISPLAYS.*2.*n.*\"y.*\".*\n1.*n.*\"x\".*"
 		+ prompt);
 	e.send("enable 2\n");
 	e.expect("enable.*display 2 enabled.*" + prompt);
@@ -82,12 +77,12 @@ public class TestDisplayCommand
 	e.expect("enable.*display 1 enabled.*" + prompt);
 	e.send("delete 1\n");
 	e.expect("delete.*display 1 deleted.*" + prompt);
-	e.send("actionpoints -display\n");
-	e.expect("actionpoints.*DISPLAYS.*2.*y.*\"y.*\".*" + prompt);
+	e.send("actions -display\n");
+	e.expect("actions.*DISPLAYS.*2.*y.*\"y.*\".*" + prompt);
 	e.send("delete -display\n");
 	e.expect("delete.*display 2 deleted.*" + prompt);
-	e.send("actionpoints -display\n");
-	e.expect("actionpoints.*" + prompt);
+	e.send("actions -display\n");
+	e.expect("actions.*" + prompt);
 	e.send("quit\n");
 	e.expect("Quitting...");
 	e.close();


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


                 reply	other threads:[~2008-04-18 19:09 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=20080418190951.30916.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: 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).