This is the mail archive of the frysk-cvs@sources.redhat.com mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[SCM] master: Change <<-format -t>> to <<-format -b>>; match HPD spec.


The branch, master has been updated
       via  30d73c0d378db568f8f3c3f0a8f0ec8c9d2650f1 (commit)
      from  134e5548df6e16f6a97644745ff58836cf40f23b (commit)

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

- Log -----------------------------------------------------------------
commit 30d73c0d378db568f8f3c3f0a8f0ec8c9d2650f1
Author: Andrew Cagney <cagney@redhat.com>
Date:   Mon Dec 10 13:43:13 2007 -0500

    Change <<-format -t>> to <<-format -b>>; match HPD spec.
    
    frysk-core/frysk/hpd/ChangeLog
    2007-12-10  Andrew Cagney  <cagney@redhat.com>
    
    	* TestEvalCommands.java (testFormatInteger_b()): Replace
    	testFormatInteger_t().
    	* CommandOption.java (FormatOption.parse(String,Object)): Change
    	binary option to "b".

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

Summary of changes:
 frysk-core/frysk/hpd/ChangeLog             |    7 +++++++
 frysk-core/frysk/hpd/CommandOption.java    |    2 +-
 frysk-core/frysk/hpd/TestEvalCommands.java |    4 ++--
 3 files changed, 10 insertions(+), 3 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/hpd/ChangeLog b/frysk-core/frysk/hpd/ChangeLog
index 8513ec2..137b5ea 100644
--- a/frysk-core/frysk/hpd/ChangeLog
+++ b/frysk-core/frysk/hpd/ChangeLog
@@ -1,3 +1,10 @@
+2007-12-10  Andrew Cagney  <cagney@redhat.com>
+
+	* TestEvalCommands.java (testFormatInteger_b()): Replace
+	testFormatInteger_t().
+	* CommandOption.java (FormatOption.parse(String,Object)): Change
+	binary option to "b".
+
 2007-12-07  Phil Muldoon  <pmuldoon@redhat.com>
 
 	* CoreCommand.java: Tweak help text. 
diff --git a/frysk-core/frysk/hpd/CommandOption.java b/frysk-core/frysk/hpd/CommandOption.java
index 5f795a1..bddfe7e 100644
--- a/frysk-core/frysk/hpd/CommandOption.java
+++ b/frysk-core/frysk/hpd/CommandOption.java
@@ -99,7 +99,7 @@ abstract class CommandOption {
 		format = Format.OCTAL;
 	    else if (argument.compareTo("x") == 0) 
 		format = Format.HEXADECIMAL;
-	    else if (argument.compareTo("t") == 0)
+	    else if (argument.compareTo("b") == 0)
 		format = Format.BINARY;
 	    else
 		throw new InvalidCommandException("unrecognized format: "
diff --git a/frysk-core/frysk/hpd/TestEvalCommands.java b/frysk-core/frysk/hpd/TestEvalCommands.java
index 490e9eb..856eec3 100644
--- a/frysk-core/frysk/hpd/TestEvalCommands.java
+++ b/frysk-core/frysk/hpd/TestEvalCommands.java
@@ -70,9 +70,9 @@ public class TestEvalCommands extends TestLib {
 	e = new HpdTestbed();
 	e.sendCommandExpectPrompt("print 17 -format d", "\r\n17\r\n");
     }
-    public void testFormatInteger_t() {
+    public void testFormatInteger_b() {
 	e = new HpdTestbed();
-	e.sendCommandExpectPrompt("print 17 -format t", "\r\n10001\r\n");
+	e.sendCommandExpectPrompt("print 17 -format b", "\r\n10001\r\n");
     }
     public void testFormatInteger_o() {
 	e = new HpdTestbed();


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]