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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1285 Actions


    Problem Report Number 1285
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0567
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1998-08-05 08:00
    Product Standard Internationalised Terminal Interfaces
    Certification Program The Open Brand certification program
    Test Suite VSU version 5.0.2
    Test Identification xcurses/nl 3
    Problem Summary TSD4U.00251 These tests may fail as they test beyond the requirements of the spec.
    Problem Text
    This request addresses two failures:

    CAPIxcurses/fnl/fnl1 3
    CAPIxcurses/fnONL/fnl1 3

    The tests are looking specifically for \nl or \cr cahracters:

    if (s2 != '\n') {
    sprintf(ebuf, "ERROR: getch returned %d, expected newline", s2);
    tet_infoline(ebuf);
    tet_result(TET_FAIL);
    return;
    }

    In our implementation, we simulate newlines with direct cursor addressing
    if the terminal provides that facility. Thus a test looking for the
    \nl or \cr characters, rather than testing the cursor location, will
    fail.
    Test Output
    10|1197 /tset/CAPIxcurses/fnl/fnl1 02:40:16|TC Start, scenario ref 176-462
    15|1197 1.10 3|TCM Start
    400|1197 1 1 02:40:16|IC Start
    200|1197 3 02:40:17|TP Start
    520|1197 3 18720 1 1|SPEC1170TESTSUITE CASE 3
    520|1197 3 18720 1 2|The default for the behavior controlled by a call to
    520|1197 3 18720 1 3|int nl(void) shall be that this translation is
    520|1197 3 18720 1 4|enabled.
    520|1197 3 18725 1 1|PREP: Set test locale: xcurses
    520|1197 3 18725 1 2|PREP: Set environment variables and open terminal connection
    520|1197 3 18725 2 1|PREP: Call newterm
    520|1197 3 18725 2 2|PREP: Initialize color pairs
    520|1197 3 18725 2 3|PREP: Write a newline
    520|1197 3 18725 2 4|TEST: Data on terminal screen matches expected data
    520|1197 3 18725 2 5|TEST: CR/LF received by terminal
    520|1197 3 18725 2 6|ERROR: Return not received
    520|1197 3 18725 2 7|ERROR: Linefeed not received
    520|1197 3 18725 2 8|PREP: Output a return
    520|1197 3 18725 2 9|TEST: Read it back, expect newline
    520|1197 3 18725 2 10|CLEANUP: Call endwin
    520|1197 3 18725 2 11|CLEANUP: Call delscreen
    520|1197 3 18725 2 12|CLEANUP: Restore environment variables and close terminal connection
    220|1197 3 1 02:40:19|FAIL
    ---
    10|1205 /tset/CAPIxcurses/fnonl/fnonl1 02:41:45|TC Start, scenario ref 176-470
    15|1205 1.10 3|TCM Start
    400|1205 1 1 02:41:46|IC Start
    200|1205 3 02:41:46|TP Start
    520|1205 3 18824 1 1|SPEC1170TESTSUITE CASE 3
    520|1205 3 18824 1 2|The default for the behavior controlled by a call to
    520|1205 3 18824 1 3|int nonl(void) shall be that these translations are
    520|1205 3 18824 1 4|enabled.
    520|1205 3 18829 1 1|PREP: Set test locale: xcurses
    520|1205 3 18829 1 2|PREP: Set environment variables and open terminal connection
    520|1205 3 18829 2 1|PREP: Call newterm
    520|1205 3 18829 2 2|PREP: Initialize color pairs
    520|1205 3 18829 2 3|PREP: Write a newline
    520|1205 3 18829 2 4|TEST: Data on terminal screen matches expected data
    520|1205 3 18829 2 5|TEST: CR/LF received by terminal
    520|1205 3 18829 2 6|ERROR: Return not received
    520|1205 3 18829 2 7|ERROR: Linefeed not received
    520|1205 3 18829 2 8|PREP: Output a return
    520|1205 3 18829 2 9|TEST: Read it back, expect newline
    520|1205 3 18829 2 10|CLEANUP: Call endwin
    520|1205 3 18829 2 11|CLEANUP: Call delscreen
    520|1205 3 18829 2 12|CLEANUP: Restore environment variables and close terminal connection
    220|1205 3 1 02:41:49|FAIL

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    The analysis given is not accurate. The tests are correct in sending
    control characters and checking they are mapped correctly. Moreover
    this part of the tests is not where the failures are occuring.

    However, the tests also contain code exercising mapping on output.
    This should not be being tested and this code is where the failures
    are occurring.

    We agree this later issue is a test suite deficiency in the test
    suite versions 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