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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1288 Actions


    Problem Report Number 1288
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0570
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1998-07-30 08:00
    Product Standard Internationalised Terminal Interfaces
    Certification Program The Open Brand certification program
    Test Suite VSU version 5.0.2
    Test Identification xcurses/slk_attr_off 1
    Problem Summary TSD4U.00248 This test will fail on implementations which use different encodings for WA_ and A_ attributes.
    Problem Text
    CAPIxcurses/fslk_at_of/fslk_at_of1.c uses slk_attron during its initialization:

    ...
    tet_infoline("PREP: Call slk_attron (REVERSE, DIM, BOLD)");
    s2 = slk_attron(WA_REVERSE|WA_DIM|WA_BOLD);
    ...

    The test is trying to set attributes using the WA_* attribute identifiers,
    which are of type "attr_t". slk_attron() accepts the A_* attribute
    indentifiers, which are of type "chtype". (Curses Interface 4.2, pp. 16,
    184.)

    In our implementation, the WA_* and A_* attribute identifiers are of
    different types and values; for example, in <curses.h>:

    ...
    #define WA_BOLD 0x0020
    ...
    #define A_BOLD 0x00200000L
    ...

    The A_* and WA_* constants are not required in type of value.
    Test Output

    10|1 /tset/CAPIxcurses/fslk_at_of/fslk_at_of1 16:31:55|TC Start, scenario
    ref 58
    75-1
    15|1 1.10 4|TCM Start
    400|1 1 1 16:31:55|IC Start
    200|1 1 16:31:55|TP Start
    520|1 1 25437 1 1|SPEC1170TESTSUITE CASE 1
    520|1 1 25437 1 2|When soft function-key labels are being emulated a
    520|1 1 25437 1 3|successful call to int slk_attr_off(attr_t attrs, void
    *opts
    520|1 1 25437 1 4|shall clear the attributes attrs from the
    520|1 1 25437 1 5|attributes applied to strings written to soft
    520|1 1 25437 1 6|function-key labels, without affecting any others, and
    520|1 1 25437 1 7|return OK.
    520|1 1 25438 1 1|PREP: Call scr_init
    520|1 1 25438 1 2|PREP: Start curses with a terminal without support for
    labels
    520|1 1 25438 1 3|PREP: Set test locale: xcurses
    520|1 1 25438 1 4|PREP: Set environment variables and open terminal
    connection
    520|1 1 25438 2 1|PREP: Call newterm
    520|1 1 25438 2 2|PREP: Initialize color pairs
    520|1 1 25438 2 3|PREP: Call slk_attron (REVERSE, DIM, BOLD)
    520|1 1 25438 2 4|TEST: Call slk_attr_off (REVERSE)
    520|1 1 25438 2 5|TEST: Return value
    520|1 1 25438 2 6|TEST: Set labels on function keys
    520|1 1 25438 2 7|TEST: Data on terminal screen matches expected data
    520|1 1 25438 2 8|ERROR: Line 23 is not as expected. Expected line is:
    520|1 1 25438 2 9|label1 label2 label3 label4 label5
    label6
    label7 label8
    520|1 1 25438 2 10|ERROR: Actual line is:
    520|1 1 25438 2 11|label1 label2 label3 label4 label5
    label6
    label7 label8
    520|1 1 25438 2 12|ERROR: Bold attribute should be on at (r=23, c=0), is
    off
    520|1 1 25438 2 13|ERROR: Bold attribute should be on at (r=23, c=1), is
    off
    520|1 1 25438 2 14|ERROR: Bold attribute should be on at (r=23, c=2), is
    off
    520|1 1 25438 2 15|ERROR: Bold attribute should be on at (r=23, c=3), is
    off
    520|1 1 25438 2 16|ERROR: Bold attribute should be on at (r=23, c=4), is
    off
    520|1 1 25438 2 17|ERROR: Bold attribute should be on at (r=23, c=5), is
    off
    520|1 1 25438 2 18|ERROR: Bold attribute should be on at (r=23, c=6), is
    off
    520|1 1 25438 2 19|ERROR: Bold attribute should be on at (r=23, c=7), is
    off
    520|1 1 25438 2 20|ERROR: Bold attribute should be on at (r=23, c=9), is
    off
    520|1 1 25438 2 21|ERROR: Bold attribute should be on at (r=23, c=10), is
    off
    520|1 1 25438 2 22|ERROR: Bold attribute should be on at (r=23, c=11), is
    off
    520|1 1 25438 2 23|ERROR: Bold attribute should be on at (r=23, c=12), is
    off
    520|1 1 25438 2 24|ERROR: Bold attribute should be on at (r=23, c=13), is
    off
    520|1 1 25438 2 25|ERROR: Bold attribute should be on at (r=23, c=14), is
    off
    520|1 1 25438 2 26|ERROR: Bold attribute should be on at (r=23, c=15), is
    off
    520|1 1 25438 2 27|ERROR: Bold attribute should be on at (r=23, c=16), is
    off
    520|1 1 25438 2 28|ERROR: Bold attribute should be on at (r=23, c=18), is
    off
    520|1 1 25438 2 29|ERROR: Bold attribute should be on at (r=23, c=19), is
    off
    520|1 1 25438 2 30|ERROR: Bold attribute should be on at (r=23, c=20), is
    off
    520|1 1 25438 2 31|ERROR: Bold attribute should be on at (r=23, c=21), is
    off
    520|1 1 25438 2 32|ERROR: Bold attribute should be on at (r=23, c=22), is
    off
    520|1 1 25438 2 33|ERROR: Bold attribute should be on at (r=23, c=23), is
    off
    520|1 1 25438 2 34|ERROR: Bold attribute should be on at (r=23, c=24), is
    off
    520|1 1 25438 2 35|ERROR: Bold attribute should be on at (r=23, c=25), is
    off
    520|1 1 25438 2 36|ERROR: Bold attribute should be on at (r=23, c=27), is
    off
    520|1 1 25438 2 37|ERROR: Bold attribute should be on at (r=23, c=28), is
    off
    520|1 1 25438 2 38|ERROR: Bold attribute should be on at (r=23, c=29), is
    off
    520|1 1 25438 2 39|ERROR: Bold attribute should be on at (r=23, c=30), is
    off
    520|1 1 25438 2 40|ERROR: Bold attribute should be on at (r=23, c=31), is
    off
    520|1 1 25438 2 41|ERROR: Bold attribute should be on at (r=23, c=32), is
    off
    520|1 1 25438 2 42|ERROR: Bold attribute should be on at (r=23, c=33), is
    off
    520|1 1 25438 2 43|ERROR: Bold attribute should be on at (r=23, c=34), is
    off
    520|1 1 25438 2 44|ERROR: Bold attribute should be on at (r=23, c=44), is
    off
    520|1 1 25438 2 45|ERROR: Bold attribute should be on at (r=23, c=45), is
    off
    520|1 1 25438 2 46|ERROR: Bold attribute should be on at (r=23, c=46), is
    off
    520|1 1 25438 2 47|ERROR: Bold attribute should be on at (r=23, c=47), is
    off
    520|1 1 25438 2 48|ERROR: Bold attribute should be on at (r=23, c=48), is
    off
    520|1 1 25438 2 49|ERROR: Bold attribute should be on at (r=23, c=49), is
    off
    520|1 1 25438 2 50|ERROR: Bold attribute should be on at (r=23, c=50), is
    off
    520|1 1 25438 2 51|ERROR: Bold attribute should be on at (r=23, c=51), is
    off
    520|1 1 25438 2 52|ERROR: Bold attribute should be on at (r=23, c=53), is
    off
    520|1 1 25438 2 53|ERROR: Bold attribute should be on at (r=23, c=54), is
    off
    520|1 1 25438 2 54|ERROR: Bold attribute should be on at (r=23, c=55), is
    off
    520|1 1 25438 2 55|ERROR: Bold attribute should be on at (r=23, c=56), is
    off
    520|1 1 25438 2 56|ERROR: Bold attribute should be on at (r=23, c=57), is
    off
    520|1 1 25438 2 57|ERROR: Bold attribute should be on at (r=23, c=58), is
    off
    520|1 1 25438 2 58|ERROR: Bold attribute should be on at (r=23, c=59), is
    off
    520|1 1 25438 2 59|ERROR: Bold attribute should be on at (r=23, c=60), is
    off
    520|1 1 25438 2 60|ERROR: Bold attribute should be on at (r=23, c=62), is
    off
    520|1 1 25438 2 61|ERROR: Bold attribute should be on at (r=23, c=63), is
    off
    520|1 1 25438 2 62|ERROR: Bold attribute should be on at (r=23, c=64), is
    off
    520|1 1 25438 2 63|ERROR: Bold attribute should be on at (r=23, c=65), is
    off
    520|1 1 25438 2 64|ERROR: Bold attribute should be on at (r=23, c=66), is
    off
    520|1 1 25438 2 65|ERROR: Bold attribute should be on at (r=23, c=67), is
    off
    520|1 1 25438 2 66|ERROR: Bold attribute should be on at (r=23, c=68), is
    off
    520|1 1 25438 2 67|ERROR: Bold attribute should be on at (r=23, c=69), is
    off
    520|1 1 25438 2 68|ERROR: Bold attribute should be on at (r=23, c=71), is
    off
    520|1 1 25438 2 69|ERROR: Bold attribute should be on at (r=23, c=72), is
    off
    520|1 1 25438 2 70|ERROR: Bold attribute should be on at (r=23, c=73), is
    off
    520|1 1 25438 2 71|ERROR: Bold attribute should be on at (r=23, c=74), is
    off
    520|1 1 25438 2 72|ERROR: Bold attribute should be on at (r=23, c=75), is
    off
    520|1 1 25438 2 73|ERROR: Bold attribute should be on at (r=23, c=76), is
    off
    520|1 1 25438 2 74|ERROR: Bold attribute should be on at (r=23, c=77), is
    off
    520|1 1 25438 2 75|ERROR: Bold attribute should be on at (r=23, c=78), is
    off
    520|1 1 25438 2 76| Expected data: $TET_ROOT/CAPI/tset/CAPIxcurses/data/SLK_AT_OF/data1.scrn.
    520|1 1 25438 2 77| Actual data: $TET_ROOT/CAPI/tset/CAPIxcurses/tmp/SLK_A T_OF/data1.scrn
    520|1 1 25438 2 78|CLEANUP: Call endwin
    520|1 1 25438 2 79|CLEANUP: Call delscreen
    520|1 1 25438 2 80|CLEANUP: Restore environment variables and close terminal connection
    220|1 1 1 16:31:57|FAIL
    410|1 1 1 16:31:57|IC End

    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 releases 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