|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1115 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 1115.
Report 1115 Actions
Problem Report Number 1115 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0317 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published null Product Standard Internationalised System Calls and Libraries Extended (UNIX 95) Certification Program The Open Brand certification program Test Suite VSU version 5.0.2 Test Identification CAPIxcurses/mvwaddwstr 6 Problem Summary PG4U.00156 This function returns OK on this implementation when scrolling is needed but disabled. Problem Text
test6A() in ~vsu0/tset/CAPIxcurses/fmvwaddwst.c is incorrectly checking
the return from xmvwaddwstr().
It is checking that the return is not equal to ERR. If the return is not
equal to ERR, it sets the flag to indicate the testcase
failed and returns. Obviously the comparison should be (s2 == ERR).
This incorrect comparison is repeated 6 times in test6A().
For example, on line 665:
s2 = mvwaddwstr(sub_window, LINES-1, COLS-1, wch);
if (s2 != ERR)
{
curout(TET_FAIL, "mvwaddwstr", s2);
return;
}Test Output
TEST CASE: xmvwaddwstr
TEST PURPOSE #6
On a call to int mvwaddwstr(WINDOW *win, int y, int x,
const wchar_t *wstr) when the cursor position for the
window win would advance beyond the bottom of the
scrolling region for win and scrolling is not enabled
for win the region shall not be scrolled and the
cursor position for win shall not be advanced.
PREP: Set test locale: /vsu/IBM/xcurses_locale
PREP: Set environment variables and open terminal connection
PREP: Call newterm
PREP: Initialize color pairs
PREP: Create a window
PREP: Disable scrolling for sub_window
TEST: Writing a string with mvwaddwstr at the right bottom margin does not
cause a scroll
ERROR: mvwaddwstr call returned 0
6 FAILReview 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.
This function is defined to return ERR when it is not successful. When
scrolling is needed but is disabled the function cannot write the
string successfully, thus the test checks it returns ERR. This
behavior is also existing practice.
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:
- View Report 1115
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority