public inbox for mauve-patches@sourceware.org
 help / color / mirror / Atom feed
From: Gary Benson <gbenson@redhat.com>
To: mauve-patches@sources.redhat.com
Subject: FYI: Even more SocketPermission tests
Date: Fri, 01 Sep 2006 08:33:00 -0000	[thread overview]
Message-ID: <20060901083305.GB3836@redhat.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 190 bytes --]

Hi all,

This commit adds checks that IPv6-mapped IPv4 addresses imply
their normal IPv4 counterparts.  Every day I find more things
that SocketPermission is supposed to do :(

Cheers,
Gary

[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 1715 bytes --]

Index: ChangeLog
===================================================================
RCS file: /cvs/mauve/mauve/ChangeLog,v
retrieving revision 1.1898
diff -u -r1.1898 ChangeLog
--- ChangeLog	31 Aug 2006 10:33:47 -0000	1.1898
+++ ChangeLog	1 Sep 2006 08:29:29 -0000
@@ -1,3 +1,8 @@
+2006-09-01  Gary Benson  <gbenson@redhat.com>
+
+	* gnu/testlet/java/net/SocketPermission/implies.java:
+	Check that IPv6-mapped IPv4 addresses imply their counterparts.
+
 2006-08-31  Gary Benson  <gbenson@redhat.com>
 
 	* gnu/testlet/java/net/SocketPermission/argument.java:
Index: gnu/testlet/java/net/SocketPermission/implies.java
===================================================================
RCS file: /cvs/mauve/mauve/gnu/testlet/java/net/SocketPermission/implies.java,v
retrieving revision 1.4
diff -u -r1.4 implies.java
--- gnu/testlet/java/net/SocketPermission/implies.java	25 Aug 2006 15:22:00 -0000	1.4
+++ gnu/testlet/java/net/SocketPermission/implies.java	1 Sep 2006 08:29:29 -0000
@@ -101,6 +101,15 @@
     new Test("[::FFFF:129.144.52.38]", "[::FFFF:129.144.52.38]", true),
     new Test("[::13.1.68.3]", "[::FFFF:13.1.68.3]", false),    
     new Test("[::FFFF:13.1.68.3]", "[::13.1.68.3]", false),
+    // IPv6-mapped IPv4 addresses
+    new Test("[::FFFF:13.1.68.3]", "13.1.68.3", true),
+    new Test("13.1.68.3", "[::FFFF:13.1.68.3]", true),
+    new Test("[::FFFF:D01:4403]", "13.1.68.3", true),
+    new Test("13.1.68.3", "[::FFFF:D01:4403]", true),
+    new Test("[::13.1.68.3]", "13.1.68.3", false),
+    new Test("13.1.68.3", "[::13.1.68.3]", false),
+    new Test("[::D01:4403]", "13.1.68.3", false),
+    new Test("13.1.68.3", "[::D01:4403]", false),
   };
 
   private Test[] ports = new Test[] {

                 reply	other threads:[~2006-09-01  8:33 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=20060901083305.GB3836@redhat.com \
    --to=gbenson@redhat.com \
    --cc=mauve-patches@sources.redhat.com \
    /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).