public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM]  master: Fix bz #5396.
@ 2007-11-23  0:43 rmoseley
  0 siblings, 0 replies; only message in thread
From: rmoseley @ 2007-11-23  0:43 UTC (permalink / raw)
  To: frysk-cvs

The branch, master has been updated
       via  08ac5754d8dfc76ec585a61611b315f17e08acc0 (commit)
      from  210928258af6f0eaeb957a812b39eee1a7e61553 (commit)

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

- Log -----------------------------------------------------------------
commit 08ac5754d8dfc76ec585a61611b315f17e08acc0
Author: Rick Moseley <rmoseley@redhat.com>
Date:   Thu Nov 22 18:42:29 2007 -0600

    Fix bz #5396.
    
    * TestPeekCommand.java: Fix bz #5396; added test for when
      no params are entered for command(testPeekCommandNoParameter).

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

Summary of changes:
 frysk-core/frysk/hpd/ChangeLog            |    5 +++++
 frysk-core/frysk/hpd/TestPeekCommand.java |   13 +++++++++++--
 2 files changed, 16 insertions(+), 2 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/hpd/ChangeLog b/frysk-core/frysk/hpd/ChangeLog
index 56c1b6c..e3de710 100644
--- a/frysk-core/frysk/hpd/ChangeLog
+++ b/frysk-core/frysk/hpd/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-22  Rick Moseley  <rmoseley@redhat.com>
+
+	* TestPeekCommand.java: Fix bz #5396; added test for when
+	no params are entered for command(testPeekCommandNoParameter).
+
 2007-11-21  Phil Muldoon  <pmuldoon@redhat.com>
 
 	* PeekCommand.java (interpret): Check that arguments are > 0.
diff --git a/frysk-core/frysk/hpd/TestPeekCommand.java b/frysk-core/frysk/hpd/TestPeekCommand.java
index 545717f..7583890 100644
--- a/frysk-core/frysk/hpd/TestPeekCommand.java
+++ b/frysk-core/frysk/hpd/TestPeekCommand.java
@@ -71,10 +71,19 @@ public class TestPeekCommand extends TestLib {
 	e.send("load " + Config.getPkgDataFile("test-exe-x86").getPath() + "\n");
 	e.expect(5, "Loaded executable file.*");
 	e.send("peek 0x08048000L\n");
-	e.expect(5, "[0.0]");
+	e.expect(5, "\\[0\\.0\\]");
 	e.expect(5, "The value at 08048000 = 127.*");
-	e.expect(5, "[0.1]");
+	e.expect(5, "\\[1\\.0\\]");
 	e.expect(5, "The value at 08048000 = 127.*");
 	e.close();
     }
+    
+    public void testPeekCommandNoParameter() {
+	e = new HpdTestbed();
+	e.send("load " + Config.getPkgDataFile("test-exe-x86").getPath() + "\n");
+	e.expect(5, "Loaded executable file.*");
+	e.send("peek\n");
+	e.expect(5, "Error: Not enough parameters. Please specify an addess to peek at.*");
+	e.close();
+    }
 }


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-11-23  0:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-23  0:43 [SCM] master: Fix bz #5396 rmoseley

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).