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

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 2603 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 2603.


Report 2603 Actions


    Problem Report Number 2603
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0692
    Raised 2015-04-17 03:33
    Updated 2015-05-08 10:06
    Published 2015-05-08 10:06
    Product Standard Commands and Utilities V5 (UNIX V7)
    Certification Program The Open Brand certification program
    Test Suite VSC version 5.3.8NW
    Test Identification /tset/POSIX.cmd/touch/touch.sh{50}
    Specification Base Specifications Issue 7
    Location in Spec .
    Problem Summary Reverse logic in /tset/POSIX.cmd/touch/touch.sh{50}
    Problem Text From the trace

    $ tcc -ep -v 'TST_TRACE=set -x' -l "/tset/POSIX.cmd/touch/touch.sh{50}" vsc
    tcc: journal file is /export/testufs/tet/vsc/results/0012e/journal
    16:17:29 Execute /tset/POSIX.cmd/touch/touch.sh
    + CT_STDOUT=out.stdout
    + CT_STDERR=out.stderr
    + + OpenTP touch 50 A Verify behaviour of 'touch -a -m 8_or_10_digits file'
    cmd=/usr/bin/touch
    + tet_setblock
    + test 200809 -lt 200112
    + test 200809 -gt 200112
    + /usr/bin/touch -am 0101000090 example1.txt
    + 1> out.stdout 2> out.stderr
    + CT_EXIT_VALUE=0
    + [ 0 -ne 0 ]
    + SetResult PASS
    + [ ! -s out.stderr ]
    + SetResult PASS
    + [ -f 0101000090 ]
    + [ 1 -ne 0 ]
    + SetResult FAIL Command failed: '[ -f 0101000090 ]'
    + rm -f 0101000090
    + /usr/bin/touch 01010000 example2.txt
    + 1> out.stdout 2> out.stderr
    + CT_EXIT_VALUE=0
    + [ 0 -ne 0 ]
    + SetResult PASS
    + [ ! -s out.stderr ]
    + SetResult PASS
    + [ -f 01010000 ]
    + [ 1 -ne 0 ]
    + SetResult FAIL Command failed: '[ -f 01010000 ]'
    + rm -f 01010000
    + [ -z ]
    + rm -f out.stdout out.stderr
    + CloseTP

    it seems that there should be reverse logic in tp50 in

    3689 [ -f 0101000090 ]
    3690 if [ $? -ne 0 ]; then
    3691 SetResult $TET_FAIL "Command failed: '[ -f 0101000090 ]'"
    3692 else
    3693 SetResult $TET_PASS
    3694 fi
    Test Output Assertion #50 (A): Verify behaviour of 'touch -a -m 8_or_10_digits file'
    Command failed: '[ -f 0101000090 ]'
    Command failed: '[ -f 01010000 ]'

    Review Information

    Review Type TSMA Review
    Start Date 2015-04-17 03:33
    Last Updated 2015-04-17 11:33
    Completed 2015-04-17 11:33
    Status Complete
    Review Recommendation Rejected (REJ)
    Review Response The test code is correct. The standard requires that:

    touch -am 0101000090 example1.txt

    creates (or updates the timestamps of) the files 0101000090 and
    example1.txt.

    The obsolescent touch syntax in SUSv2 which treated 0101000090 as a
    date_time operand was removed in SUSv3. However, it was not tested for
    UNIX 03 because a reference to the date_time operand still remained in
    the DESCRIPTION section. This reference was removed in SUSv4 and so the
    change is being tested for UNIX V7.

    It it recommended that this TSD request is rejected.


    Review Type SA Review
    Start Date 2015-04-17 19:33
    Last Updated 2015-05-08 09:59
    Completed 2015-05-08 09:59
    Status Complete
    Review Resolution Rejected (REJ)
    Review Conclusion This request is rejected as per the test suite maintenance authority review.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority