SUSE Support

Here When You Need Us

SUSE Linux Leap Year Testing Results

This document (3663614) is provided subject to the disclaimer at the end of this document.

Environment

- SLES9 SP4 (i386, x86_64, ppc, ia64, s390, s390x)
- SLES 10 SP1 (i386, x86_64, ppc, ia64, s390x)
- SLES 10 SP2 (i386, x86_64, ppc, ia64, s390x)
- SLES 10 SP3 (i386, x86_64, ppc, ia64, s390x)
- SLES 10 SP4 (i386, x86_64, ppc, ia64, s390x)
- SLES 11 (i386, x86_64, ppc, ia64, s390x)
- SLES 11 SP1 (i386, x86_64, ppc, ia64, s390x)
- SLES 11 SP2 (i386, x86_64, ppc, ia64, s390x)
- SLES 11 SP3 (i386, x86_64, ppc, ia64, s390x)
- SLES 11 SP4 (i386, x86_64, ppc, ia64, s390x)
- SLES 12(x86_64, ppc64le, s390x)
- SLES 12 SP1 (x86_64, ppc64le, s390x)
- SLES 12 SP2 (x86_64, ppc64le, s390x, ARM)
- SLES 12 SP3 (x86_64, ppc64le, s390x, ARM)
- SLES 12 SP4 (x86_64, ppc64le, s390x, ARM)
- SLES 12 SP5 (x86_64, ppc64le, s390x, ARM)
- SLES 15 (x86_64, ppc64le, s390x, ARM)
- SLES15 SP1 (x86_64, ppc64le, s390x, ARM)
- SLES15 SP2 (x86_64, ppc64le, s390x, ARM)

Situation

SUSE Linux Enterprise Products have been tested to ensure that they handle Leap Year date adjustments.

Testing Methodology:

For each YEAR in the range from 1970 to 2038:
1- Script created that creates the date "02/28/YEAR 23:59"
2- Add 120 seconds to this date (using the "date" command)
3- Check that the result is 02/29/YEAR (for leap year) or 03/01/YEAR (for non-leap year)
4- In the case that the YEAR is a leap year, add 1 day + 120 seconds to the original date (using the "date" command)
5- Check that the result is 03/01/YEAR

Since the "date" command is internally using gettimeofday/ctime functions from glibc, the functionality of these functions are stressed (with regard to leap years).

Resolution

Results:

- SLES9 SP4 (i386, x86_64, ppc, ia64, s390, s390x): PASSED
- SLES 10 SP1 (i386, x86_64, ppc, ia64, s390x): PASSED
- SLES 10 SP2 (i386, x86_64, ppc, ia64, s390x): PASSED
- SLES 10 SP3 (i386, x86_64, ppc, ia64, s390x): PASSED
- SLES 10 SP4 (i386, x86_64, ppc, ia64, s390x): PASSED
- SLES 11 (i386, x86_64, ppc, ia64, s390x): PASSED
- SLES 11 SP1 (i386, x86_64, ppc, ia64, s390x): PASSED
- SLES 11 SP2 (i386, x86_64, ppc, ia64, s390x): PASSED
- SLES 11 SP3 (i386, x86_64, ppc, ia64, s390x): PASSED
- SLES 11 SP4 (i386, x86_64, ppc, ia64, s390x): PASSED
- SLES 12(x86_64, ppc64le, s390x): PASSED
- SLES 12 SP1 (x86_64, ppc64le, s390x) PASSED
- SLES 12 SP2 (x86_64, ppc64le, s390x, ARM) PASSED
- SLES 12 SP3 (x86_64, ppc64le, s390x, ARM) PASSED
- SLES 12 SP4 (x86_64, ppc64le, s390x, ARM) PASSED
- SLES 12 SP5 (x86_64, ppc64le, s390x, ARM) PASSED
- SLES 15 (x86_64, ppc64le, s390x, ARM) PASSED
- SLES15 SP1 (x86_64, ppc64le, s390x, ARM) PASSED
- SLES15 SP2 (x86_64, ppc64le, s390x, ARM) PASSED

Additional Information


Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:3663614
  • Creation Date: 01-Feb-2008
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.