RFR 6671616: TEST_BUG java/io/File/BlockIsDirectory.java fails when /dev/dsk empty (sol)
Alan Bateman
Alan.Bateman at oracle.com
Tue Jan 17 13:33:28 UTC 2012
On 17/01/2012 13:26, Chris Hegarty wrote:
> On Solaris, this test looks in /dev/dsk for block special devices.
> Unfortunately, /dev/dsk is empty within a zone. Also unfortunately, on
> a non-zone Solaris machine, /dev/dsk is filled with symlinks to the
> actual device nodes.
>
> On Linux, this test looks at /dev/ide0 and /dev/scd0 which are
> presumed to be block special devices. This is not always the case.
>
> It's infeasible for the test to create its own block special devices
> for testing, since this requires root access. It seems quite unlikely
> for there to be a regression with this specific area, so the test
> should simply be deleted, and removed from the ProblemList.
>
> Changes being requested:
> 'hg remove test/java/io/File/BlockIsDirectory.java'
>
> --- a/test/ProblemList.txt Mon Jan 16 18:05:29 2012 +0000
> +++ b/test/ProblemList.txt Tue Jan 17 13:27:53 2012 +0000
> @@ -393,9 +393,6 @@ java/net/PortUnreachableException/OneExc
> # 6962637
> java/io/File/MaxPathLength.java windows-all
>
> -# 6671616
> -java/io/File/BlockIsDirectory.java
> solaris-all
> -
> # 7076644
> java/io/File/Basic.java windows-all
>
Thanks for taking this, we should have removed this test a long time ago.
-Alan
More information about the core-libs-dev
mailing list