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

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

XMLWordPrintable

    • b11
    • generic
    • os_x
    • Verified

      --------------------------------------------------
      TEST: closed/java/io/pathNames/GeneralSolaris.java
      JDK under test: (/private/tmp/jprt/P1/124142.albatem/testproduct/macosx_x64_10.7-product/1.7.0.jdk/Contents/Home)
      java version "1.7.0-internal"
      Java(TM) SE Runtime Environment (build 1.7.0-internal-201201301241.albatem.jdk7u-osx-b00)
      OpenJDK 64-Bit Server VM (build 23.0-b12, mixed mode)

      ACTION: build -- Passed. Build successful
      REASON: User specified action: run build General
      TIME: 0.082 seconds
      messages:
      command: build General
      reason: User specified action: run build General
      elapsed time (seconds): 0.082

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 0.081 seconds
      messages:
      command: compile /private/tmp/jprt/P1/124142.albatem/source/jdk/test/closed/java/io/pathNames/../../../../java/io/pathNames/General.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.081
      direct:
      Note: /private/tmp/jprt/P1/124142.albatem/source/jdk/test/closed/java/io/pathNames/../../../../java/io/pathNames/General.java uses unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.

      ACTION: build -- Passed. Build successful
      REASON: Named class compiled on demand
      TIME: 0.041 seconds
      messages:
      command: build GeneralSolaris
      reason: Named class compiled on demand
      elapsed time (seconds): 0.041

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 0.041 seconds
      messages:
      command: compile /private/tmp/jprt/P1/124142.albatem/source/jdk/test/closed/java/io/pathNames/GeneralSolaris.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.041

      ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Mismatch: /etc/shadow ==> /private/etc/shadow, should be /etc/shadow
      REASON: User specified action: run main GeneralSolaris
      TIME: 2.032 seconds
      messages:
      command: main GeneralSolaris
      reason: User specified action: run main GeneralSolaris
      elapsed time (seconds): 2.032
      STDOUT:
      STDERR:
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1 <== x.1
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1 <== x.1/
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1/foo <== x.1/foo
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1/foo <== x.1/foo/
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1/foo/foo1 <== x.1/foo/foo1
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1/foo <== x.1/foo/.
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1 <== x.1/foo/..
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1/foo <== x.1/foo//
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1/foo/foo1 <== x.1/foo//foo1
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1/foo <== x.1/foo//.
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1 <== x.1/foo//..
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1/foo <== x.1/foo///
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1/foo/foo1 <== x.1/foo///foo1
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1/foo <== x.1/foo///.
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1 <== x.1/foo///..
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1 <== x.1/.
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1 <== x.1/./
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1/foo <== x.1/./foo
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1 <== x.1/./.
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch <== x.1/./..
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1 <== x.1/.//
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1/foo <== x.1/.//foo
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1 <== x.1/.//.
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch <== x.1/.//..
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1 <== x.1/.///
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1/foo <== x.1/.///foo
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1 <== x.1/.///.
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch <== x.1/.///..
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch <== x.1/..
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch <== x.1/../
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1 <== x.1/../x.1
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.2 <== x.1/../x.2
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/foo <== x.1/../foo
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch <== x.1/../.
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork <== x.1/../..
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch <== x.1/..//
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1 <== x.1/..//x.1
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.2 <== x.1/..//x.2
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/foo <== x.1/..//foo
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch <== x.1/..//.
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork <== x.1/..//..
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch <== x.1/..///
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1 <== x.1/..///x.1
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.2 <== x.1/..///x.2
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/foo <== x.1/..///foo
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch <== x.1/..///.
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork <== x.1/..///..
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1 <== x.1//
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1/foo <== x.1//foo
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1/foo <== x.1//foo/
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1/foo/foo1 <== x.1//foo/foo1
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1/foo <== x.1//foo/.
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1 <== x.1//foo/..
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1/foo <== x.1//foo//
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1/foo/foo1 <== x.1//foo//foo1
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1/foo <== x.1//foo//.
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1 <== x.1//foo//..
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1/foo <== x.1//foo///
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1/foo/foo1 <== x.1//foo///foo1
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1/foo <== x.1//foo///.
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1 <== x.1//foo///..
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1 <== x.1//.
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1 <== x.1//./
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1/foo <== x.1//./foo
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1 <== x.1//./.
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch <== x.1//./..
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1 <== x.1//.//
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1/foo <== x.1//.//foo
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1 <== x.1//.//.
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch <== x.1//.//..
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1 <== x.1//.///
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1/foo <== x.1//.///foo
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch/x.1 <== x.1//.///.
      /private/tmp/jprt/P1/124142.albatem/source/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/scratch <== x.1//.///..
      :

      / <== /lost+found//..///.
      /.. <== /lost+found//..///..
      /lost+found <== /lost+found///
      /lost+found/foo2 <== /lost+found///foo2
      /lost+found/foo2 <== /lost+found///foo2/
      /lost+found/foo2/foo1 <== /lost+found///foo2/foo1
      /lost+found/foo2 <== /lost+found///foo2/.
      /lost+found <== /lost+found///foo2/..
      /lost+found/foo2 <== /lost+found///foo2//
      /lost+found/foo2/foo1 <== /lost+found///foo2//foo1
      /lost+found/foo2 <== /lost+found///foo2//.
      /lost+found <== /lost+found///foo2//..
      /lost+found/foo2 <== /lost+found///foo2///
      /lost+found/foo2/foo1 <== /lost+found///foo2///foo1
      /lost+found/foo2 <== /lost+found///foo2///.
      /lost+found <== /lost+found///foo2///..
      /lost+found <== /lost+found///.
      /lost+found <== /lost+found///./
      /lost+found/foo1 <== /lost+found///./foo1
      /lost+found <== /lost+found///./.
      / <== /lost+found///./..
      /lost+found <== /lost+found///.//
      /lost+found/foo1 <== /lost+found///.//foo1
      /lost+found <== /lost+found///.//.
      / <== /lost+found///.//..
      /lost+found <== /lost+found///.///
      /lost+found/foo1 <== /lost+found///.///foo1
      /lost+found <== /lost+found///.///.
      / <== /lost+found///.///..
      / <== /lost+found///..
      / <== /lost+found///../
      /.file <== /lost+found///../.file
      /.vol <== /lost+found///../.vol
      /foo <== /lost+found///../foo
      / <== /lost+found///../.
      /.. <== /lost+found///../..
      / <== /lost+found///..//
      /.file <== /lost+found///..//.file
      /.vol <== /lost+found///..//.vol
      /foo <== /lost+found///..//foo
      / <== /lost+found///..//.
      /.. <== /lost+found///..//..
      / <== /lost+found///..///
      /.file <== /lost+found///..///.file
      /.vol <== /lost+found///..///.vol
      /foo <== /lost+found///..///foo
      / <== /lost+found///..///.
      /.. <== /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
      --------------------------------------------------

            khazra Kurchi Subhra Hazra
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: