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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1126 Actions


    Problem Report Number 1126
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0328
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Internationalised Terminal Interfaces
    Certification Program The Open Brand certification program
    Test Suite VSU version 5.0.2
    Test Identification xcurses/use_env 1
    Problem Summary PG4U.00145 This test may fail if TERMINFO is not defined in the environment prior to running the tests.
    Problem Text
    This failure affects three cases:

    /tset/CAPIxcurses/fdel_curte/fdel_curte1
    /tset/CAPIxcurses/fsetupterm/fsetupterm1
    /tset/CAPIxcurses/fuse_env/fuse_env1

    In each case, the test includes:

    sprintf(old_terminfo, "TERMINFO=%s", getenv("TERMINFO"));

    It TERMINFO is not set, the getenv() returns NULL and sprintf() fails on
    a segmentation violation. There is no reason to expect TERMINFO to be set
    by default.
    Test Output
    400|1 1 1 18:25:55|IC Start
    200|1 1 18:25:55|TP Start
    520|1 1 22275 1 1|SPEC1170TESTSUITE CASE 1
    520|1 1 22275 1 2|When XCURSES is initialized following a call to void
    520|1 1 22275 1 3|use_env(FALSE) the XCURSES variables lines and columns
    520|1 1 22275 1 4|shall be initialized to values from the terminfo
    520|1 1 22275 1 5|database.
    520|1 1 22276 1 1|TEST: Call use_env(FALSE)
    520|1 1 22276 1 2|PREP: Save environment variables
    520|1 1 22275 2 1|ERROR: TEST TERMINATED DUE TO SIGSEGV SIGNAL (11)
    220|1 1 1 18:25:55|FAIL
    410|1 1 1 18:25:55|IC End

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We recommend this request be refused.

    We agree with the submitter that this is an undocumented prerequisite to
    running these tests. The workaround is for the user to define TERMINFO
    in the environment prior to running the xcurses tests, to allow the
    implementation to demonstrate conformance for these interfaces. The
    workaround removes the basis for a TSD as these failures will thus not
    appear in a branding run.

    We will remove the need for this step in the next release.

    Note: This response can apply only to use_env test 1 as only results for
    that test were provided, but this resolution will also resolve this issue
    for the other tests the submitter lists as well.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Rejected (REJ)
    Review Conclusion
    This request is refused.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority