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

Regression sun/tools/native2ascii/Native2AsciiTests.sh is failing.

XMLWordPrintable

    • mantis
    • sparc
    • solaris_8
    • Verified

      Regression test suit for Hopper build 18:
      http://meercat.sfbay:8080/shuna/i18n_regression/script/hopper/build18_07252002/
      JDK : Hopper rc b18
      OS : Solaris 8 sparc(euc)
      Test case : sun/tools/native2ascii/Native2AsciiTests.sh

      Regression test Native2AsciiTests.sh failed on Solaris due to an the following error.
      ---------System.out:(20/676)*----------
      \u76f8\u9055\u306f\u3042\u308a\u307e\u305b\u3093\u3002
      4630463 passed
      -rw-rw-r-- 1 rs88024 staff 129 7\u6708 26\u65e5 2002\u5e74 x.in
      \u76f8\u9055\u306f\u3042\u308a\u307e\u305b\u3093\u3002
      4636448 passed
      \u76f8\u9055\u306f\u3042\u308a\u307e\u305b\u3093\u3002
      4630971 passed
      *** /home/rs88024/regression/reg_merlin/test/sun/tools/native2ascii/A2N_4701617.expected 2002\u5e74 7\u6708 25\u65e5 (\u6728)
      --- x.out.1 2002\u5e74 7\u6708 26\u65e5 (\u91d1)
      ***************
      *** 8,11 ****
        \u5317\u6d0b\u6900
        \u51ab\u5616\u5b5b
        \u5fe4\u63a3\u6840
      ! \u6bf3\ufffd--- 8,11 ----
        \u5317\u6d0b\u6900
        \u51ab\u5616\u5b5b
        \u5fe4\u63a3\u6840
      ! \u6bf3\ufffd
      4701617 failed
      ----------System.err:(5/555)*----------
      + diff -c /home/rs88024/regression/reg_merlin/test/sun/tools/native2ascii/A2N_4630463.expected x.out.1
      + diff -c /home/rs88024/regression/reg_merlin/test/sun/tools/native2ascii/N2A_4636448.expected x.in.1
      + diff -c /home/rs88024/regression/reg_merlin/test/sun/tools/native2ascii/A2N_4630971 x.out.1
      + diff -c /home/rs88024/regression/reg_merlin/test/sun/tools/native2ascii/A2N_4701617.expected x.out.1
      \u8b66\u544a: \u30d5\u30a1\u30a4\u30eb x.out.1 \u306e\u672b\u5c3e\u306b\u5fa9\u5e30\u6539\u884c (newline) \u304c\u3042\u308a\u307e\u305b\u3093\u3002
      result: Failed. Execution failed: exit code 1
      ----------------------------------------------------------------------------
      * Please see attached file for more detail of error.

      Although I found this problem with Hopper-b18, this had occured since b15.

      Looking at the header of test program Native2AsciiTests.sh,
      this test case was updated in 02/06/14.
      I compared b18 and b15.

      % diff b18-Native2asciiTests.sh b15-Native2asciiTests.sh
      2,3c2,3
      < # @test @(#)Native2AsciiTests.sh 1.4 02/06/14
      < # @bug 4630463 4630971 4636448 4701617
      ---
      > # @test @(#)Native2AsciiTests.sh 1.2 02/04/24
      > # @bug 4630463 4630971 4636448
      61,68d60
      <
      < # Check reverse (char -> native) encoding of Japanese Halfwidth
      < # Katakana characters for MS932 (default WinNT Japanese encoding)
      < # Regression test for bugID 4701617
      <
      < rm -f x.*
      < $N2A -reverse -encoding MS932 $TESTSRC/A2N_4701617 x.out
      < check 4701617 $TESTSRC/A2N_4701617.expected x.out

      I confirmed that this fail does not occur using old version test program(b15) with Hopper-b18.
      Therefore, it seems that this fail is caused by having updated the program.
      But I'm not sure.

      This problem does not occur on Windows and RedHat Linux, occurs only on Solraris.

            ilittlesunw Ian Little (Inactive)
            rsuzukisunw Rieko Suzuki (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: