RFR [9] 8146359: test/java/nio/file/attribute/BasicFileAttributeView/UnixSocketFile.java fails when nc is not available
Alan Bateman
Alan.Bateman at oracle.com
Tue Jan 5 19:38:07 UTC 2016
On 05/01/2016 18:33, Brian Burkhalter wrote:
>
> On Jan 5, 2016, at 4:36 AM, Alan Bateman <Alan.Bateman at oracle.com
> <mailto:Alan.Bateman at oracle.com>> wrote:
>
>>> The change is to execute ‘which nc’ to check whether ‘nc’ is
>>> available and if not then skip the test.
>>>
>> This looks okay. There might be test infrastructure that could help
>> with this too.
>
> I’m not sure what infrastructure that would be. I don’t see anything
> in the jtreg tag specification which appears useful in this context.
> So, is this good to go or is further research in order?
>
I meant @library infrastructure, in this case
jdk.testlibrary.ProcessTools. No worry about it for now, it's just
something to be aware of when creating tests like this.
-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20160105/09f30c0e/attachment-0001.html>
More information about the nio-dev
mailing list