Setting public TestEnv defaults for net/nio tests needing hosts

Mark Wielaard mark at klomp.org
Sat Nov 15 15:05:21 PST 2008


Hi,

I made sure all needed services are enabled on
icedtea.classpath.org/developer.classpath.org and set those as defaults
in TestEnv for the net/nio tests that need to contact hosts. Using
icedtea for remote_host and developer for far_host is somewhat
arbitrary, but at least these hosts are public.

I also made sure the cname.sh test uses the far_host to do its tests
instead of a hardcoded one. And I changed the SocketChannel LocalAddress
and Shutdown tests to use the echo service. Since the echo service
already has to be enabled for other tests and I didn't want to open up a
telnet port.

2008-11-15  Mark Wielaard  <mark at klomp.org>

    * patches/icedtea-testenv.patch: New patch.
    * Makefile.am (ICEDTEA_PATCHES): Add new patch.
    * HACKING: Document new patch.

All the tests using TestEnv in make check-jdk target now PASS for me.

Note that TestEnv hasn't been forward ported from jdk6 to jdk7. So I
haven't yet pushed this patch upstream to the jdk7 net/nio lists.

Cheers,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icedtea-testenv.patch
Type: text/x-patch
Size: 2901 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20081116/20eb8833/icedtea-testenv.patch 


More information about the distro-pkg-dev mailing list