3318314c7c
Reviewed-by: jjg, serb, iris, jwilhelm |
||
---|---|---|
.. | ||
ClosedStreams.java | ||
CloseTest.java | ||
EchoService.java | ||
EchoTest.java | ||
InheritedChannelTest.java | ||
java.policy.fail | ||
java.policy.pass | ||
Launcher.java | ||
libInheritedChannel.c | ||
NullTest.java | ||
README | ||
StateTest.java | ||
StateTestService.java | ||
UnixDomainChannelTest.java | ||
UnixDomainSocket.java | ||
UnixSocketTest.java | ||
Util.java |
The unit tests in this directory depend on a native launcher library (libInheritedChannel.so). This library is built by executing $ make test-image-jdk-jtreg-native in the root directory of the OpenJDK clone. It will generate libInheritedChannel.so in two locations: $ $JDK_ROOT/build/$PLATFORM/support/test/jdk/jtreg/native/lib/libInheritedChannel.so $ $JDK_ROOT/build/$PLATFORM/images/test/jdk/jtreg/native/libInheritedChannel.so The test may then be run using jtreg for example as follows: $ jtreg -s -w:/tmp -r:/tmp -va -dir:$JDK_ROOT/test/jdk \ -nativepath:$JDK_ROOT/build/$PLATFORM/support/test/jdk/jtreg/native/lib \ java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java