HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 0790 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 0790.


Report 0790 Actions


    Problem Report Number 0790
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0305
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1997-12-24 08:00
    Product Standard Commands and Utilities V3 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSC version 5.0.1
    Test Identification POSIX.cmd/date 1005
    Problem Summary TSD4C.00206 This test may fail because the date may be outside of the IUT supported span of time.
    Problem Text

    This test has two problems. The first is that the test attempts
    to set the date prior to the epoch. It attempts to execute
    the command date 0929151369 which not a valid date for a UNIX
    system. date 1231235969 should work on most system depending on
    the TZ setting.

    Second the test expects to be able to set the date to the
    year 2068. This is not a requirement of the XPG5 spec. The
    spec on page 254 states the following:

    "mmddhhmm[[cc]yy] Attempts to set the date and time from the
    value given in the operand...."

    Obviously some like date 010101013099 could be tried according
    to the spec, but would fail on any current system.
    Test Output
    ***********************************************************************
    /tset/POSIX.cmd/date/date.ex 1 Failed


    Test Information:
    Assertion #1005 (C): date mmddhhmm[[cc]yy] sets the system
    <LC> date and time
    TEST: without year specification: 09291513
    VERIFY: date is correct
    TEST: with century specification ccyy: 092915131997
    VERIFY: date is correct
    TEST: with yy=99 : 0929151399
    VERIFY: current year
    CLEANUP: set year back to current year
    TEST: with yy=69 : 0929151369
    Expected exit code = 0; Received 2
    Standard output is empty
    Standard error isn't empty
    Contents of out.stderr:
    date: Specified value out of range.
    Usage: date [-n][-u] [mmddHHMM[[cc]yy]] [+Field Descriptor
    <LC> s]
    Usage: date [-n][-u] [mmddHHMM[.SSyy]] [+Field Descriptors
    <LC> ]
    VERIFY: current year
    Command failed: '[ "092915131997" = "092915131969" ]'
    CLEANUP: set year back to current year
    TEST: with yy=00 : 0929151300
    VERIFY: current year
    CLEANUP: set year back to current year
    TEST: with yy=68 : 0929151368
    Expected exit code = 0; Received 2
    Standard output is empty
    Standard error isn't empty
    Contents of out.stderr:
    date: Specified value out of range.
    Usage: date [-n][-u] [mmddHHMM[[cc]yy]] [+Field Descriptor
    <LC> s]
    Usage: date [-n][-u] [mmddHHMM[.SSyy]] [+Field Descriptors
    <LC> ]
    VERIFY: current year
    Command failed: '[ "092915131997" = "092915132068" ]'
    CLEANUP: set year back to current year

    ***********************************************************************


    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We agree this is a test suite deficiency in the test
    suite version(s) listed.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion
    This is an agreed Test Suite Deficiency.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority