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

tzupdater131 does not set return/error code if tests fail.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.0.1
    • 1.0.1
    • tools
    • b05
    • generic
    • generic

      Error code/return value not set:

      (5.9)$ ...j2re1_3_1/bin/java -jar tzupdater131_1.0.1/tzupdater131.jar -t
      FAIL: AST -9:00 Mar Sun>=8 2:00 Nov Sun>=1 2:00 1:00; want onset Sun 11 Mar 2007 11:00 GMT, got Sun 1 Apr 2007 11:00 GMT delta 21 days; want end Sun 4 Nov 2007 10:00 GMT, got Sun 28 Oct 2007 10:00 GMT delta -7 days
      .
      .
      .
      FAIL: PST -8:00 Mar Sun>=8 2:00 Nov Sun>=1 2:00 1:00; want onset Sun 9 Mar 2008 10:00 GMT, got Sun 6 Apr 2008 10:00 GMT delta 28 days; want end Sun 2 Nov 2008 09:00 GMT, got Sun 26 Oct 2008 09:00 GMT delta -7 days
      57 of 326 zones failed
      (5.9)$ echo $?
      0

            kevinw Kevin Walls
            kevinw Kevin Walls
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: