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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2078 Actions


    Problem Report Number 2078
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1049
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1998-04-07 08:00
    Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSTH version 5.1.2
    Test Identification PTHR.os/pthread_attr_getschedpolicy 2
    Problem Summary TSD5TH.00046 The check for VSTH_PGSP_SUPPORTED is incorrect. It is p = tet_getvar("VSTH_PAGSP_SUPPORTED"); if (p && *p && ((*p == 'Y') && (*p == 'y'))) it should be p = tet_getvar("VSTH_PGSP_SUPPORTED"); if ( ...
    Problem Text

    The check for VSTH_PGSP_SUPPORTED is incorrect. It is

    p = tet_getvar("VSTH_PAGSP_SUPPORTED");
    if (p && *p && ((*p == 'Y') && (*p == 'y')))

    it should be

    p = tet_getvar("VSTH_PGSP_SUPPORTED");
    if ( p && *p && ((*p == 'Y') || (*p == 'y')))

    Test Output
    ************************************************************************
    /tset/PTHR.os/all/pthread_attr_getschedpolicy/T.pthread_attr_getschedpol
    icy 2 Failed

    Test Description:
    # @(#)pthread_attr_getschedpolicy2 1.2
    If _POSIX_THREAD_PRIORITY_SCHEDULING is not defined
    and the implementation does not provide the functionality:
    a call to pthread_attr_getschedpolicy() shall fail and return
    ENOSYS.
    # @(#)pthread_attr_getschedpolicy2R 1.1
    Posix Ref: Component PTHREAD_ATTR_GETSCHEDPOLICY Assertion 9945-1:1996
    13.5.1.4-2(C)/*% ^PError: format error in archive /tsuites/VSTH/v
    sth/MAN/tset/PTHR.os/all/pthread_attr_getschedpolicy/L.pthread_a
    ttr_getschedpolicy_t, could not extract file

    Test Information:

    If _POSIX_THREAD_PRIORITY_SCHEDULING is not defined
    and the implementation does not provide the functionality:
    a call to pthread_attr_getschedpolicy() shall fail
    and return ENOSYS.
    Posix Ref: Component PTHREAD_ATTR_GETSCHEDPOLICY
    Assertion 9945-1:1996 13.5.1.4-2(C)
    pthread_attr_getschedpolicy rval, expected 109, got 0




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

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We agree that this is a test suite deficiency.

    However, this TSD applies only to implementations which provide the
    pthread_attr_getschedpolicy() function and support the POSIX.1-1996
    requirements on this function but do not claim support for the
    _POSIX_THREAD_PRIORITY_SCHEDULING feature group. It does not apply
    to implementations which either:

    a) claim support for the feature group

    b) do not claim support for the feature group but provide an implementation
    of the pthread_attr_setschedpolicy() function which returns ENOSYS.


    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