Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7142811

TEST_BUG: closed/java/io/pathNames/GeneralSolaris.java fails on Mac OS X

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • 7u4
    • 7u4
    • core-libs
    • generic
    • os_x

      This test was fixed via 7140934 to work on MacOSX but is still failing on some system, including the Macs in JPRT.

      Here's the tail of the (huge) log that makes it clear that the file is /etc/shadow rather than /private/etc/shadow as expected:

      .. <== /lost+found///..///..
      /etc/shadow <-- /etc/shadow ==> /private/etc/shadow MISMATCH
      java.lang.RuntimeException: Mismatch: /etc/shadow ==> /private/etc/shadow, should be /etc/shadow
      at General.check(General.java:252)
      at General.checkSlashes(General.java:290)
      at GeneralSolaris.checkPaths(GeneralSolaris.java:34)
      at GeneralSolaris.main(GeneralSolaris.java:43)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:680)
      at java.lang.Thread.run(Thread.java:722)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test


      TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Mismatch: /etc/shadow ==> /private/etc/shadow, should be /etc/shadow
      --------------------------------------------------

            Unassigned Unassigned
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: