Hi Roger,
Ah -- okay -- then approved to go back. (I was expecting to see use of
the JT_SCRATCH variable, or similar, but I suppose "." would work too
and is simpler.)
Thanks,
-Joe
On 2/26/2015 6:08 PM, Roger Riggs wrote:
Hi Joe,
Yes, jtreg sets the current directory to the scratch directory before
starting the test.
The fix here is to use that directory (".") instead of using the jre's
temp directory.
Roger
On 2/26/2015 6:34 PM, Joseph D. Darcy wrote:
Hi Roger,
Doesn't jtreg define a test-specific scratch directory? Is that not
available to TestNG tests?
Cheers,
-Joe
On 2/26/2015 1:14 PM, Roger Riggs wrote:
Please review this test fix to make the test more robust to
configuration and
pollution of the temp directory.
Webrev:
http://cr.openjdk.java.net/~rriggs/webrev-ioex-8044051/
Issue:
https://bugs.openjdk.java.net/browse/JDK-8044051
Thanks, Roger