Sun Regression Tests for io/PathNames is failing

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.2.0
    • Component/s: core-libs
    • beta
    • sparc
    • solaris_2.6



      Name: clC74495 Date: 05/13/99


      This is a problem with the Test it self.

      It picks files from the current directory and then compares it to its
      canonical form. But it tries to get the canonical form of

      PWD is /tmp
      /.. <-- ./../.. ==> / MISMATCH

      The test is checking the canonical path for ./../.. !!!!


      / <== ./..
      / <== ./../
      /.dtprofile <== ./../.dtprofile
      /lost+found <== ./../lost+found
      /foo <== ./../foo
      / <== ./../.
      /.. <-- ./../.. ==> / MISMATCH
      Exception in thread "main" java.lang.RuntimeException: Mismatch: ./../..
      ==> /, should be /..
              at General.check(General.java:229)
              at General.checkSlashes(General.java:267)
              at General.checkNames(General.java:326)
              at General.checkSlash(General.java:256)
              at General.checkSlashes(General.java:270)
              at General.checkNames(General.java:319)
              at General.checkSlash(General.java:256)
              at General.checkSlashes(General.java:270)
              at General.checkNames(General.java:308)
              at GeneralSolaris.checkPaths(GeneralSolaris.java:22)
              at GeneralSolaris.main(GeneralSolaris.java:34)
      (Review ID: 63125)
      ======================================================================

            Assignee:
            Michael Mccloskey (Inactive)
            Reporter:
            Carlos Lucasius (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: